[C++] Possible Bug? Inherited UStaticMeshComponent looses Mesh on Blueprint Compile when attached through different class then the Actor itself.
I have a problem with a disappearing mesh:
I created a simple Actor:
In the constructor i attached a custom scene component which also contains a mesh:
Then i created a Blueprint which is based on the MyActor class. In the Blueprint i set the StaticMesh for both the ActorMesh and ChildMesh. When i compile the Blueprint now the ChildMesh disappears and i don't know why that is. Things i've noticed is that when I click on ChildMesh (Inherited) in the Components Panel the Details Panel is totally empty. When i click on ActorMesh (Inherited) I can see the Static Mesh Components variables. Also the StaticMesh is still set in the Details Panel, but it doesn't show up in the viewport. Dragging the Actor into a map doesn't work as well. Another thing is that i can drag the ActorMesh into the EventGraph and get a Get or Set Node. If i drag the ChildMesh into the Event Graph it gives the following error: Cannot find correspondig variable (make sure component has been assigned to one).
I really hope that anyone can help me.
Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here https://issues.unrealengine.com/issue/UE-43439 . You can track the report's status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.
answered Mar 29 '17 at 01:45 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here