Hey, I didn’t know where to post this, here or in C++ forum, It related to both blueprint widgets and C++
I have a widget class (Lets call it widget A) which inheret from C++ class that implement function Init
From widget A constructor I call the function Init:
I have another widget blueprint which inherent from widget A (Lets call it widget B).
From widget B I call widget A constructor:
I have added the widget B to the viewport. The problem is that the function Init is not fired in the C++ code although the call to it is happans.
I have tried to debug from widget A constructor and I can see that the the blueprints reach and call to function Init but from the C++ code the function is not fired.
After that I have tried to add widget A to the viewport (instead of creating widget B and adding it to the viewport) and Init function is called fine.
Something with the inheritance of widget A from B makes the function Init not fire. Why? is that a bug?