Component not showing up in PIE mode
Hello. I construct a UStaticMesh component programmatically inside my component and attach it to mine; it shows up right away. However, when I go to PIE mode inside the editor, it does not show up. If i click on any of the component settings in details panel while in PIE mode, it magically shows up and stays visible.
Regarding my slave static mesh component I do just this:
Any ideas why this is happening?
asked Nov 03 '14 at 07:07 PM in C++ Programming
If anyone is interested, this issue was related to components (newly created components from serialization just for PIE mode) not having their render state created. There's probably a better way, but detecting PIE mode in OnRegister and manually calling RecreateRenderState_Concurrent solved the problem. Thanks.
answered Nov 03 '14 at 09:21 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here