My turrets static mesh is going blank always whenever I compile the program
It is a bug. Anytime you compile the C++ of the UStaticMeshComponent of the Turret that added “Turret” component has a chance of getting messed up. Once it does it won’t retain the editor values. You can delete the Turret component and add it again. As long as you are not messing around with the C++ of its underlying component type it will work correctly and retain the values after you re-add it.
Yes I tried it and it worked, but it worked only when i deleted both the components(turret and barrel),
Thank you!
Yes the bug does seem to extend to any of the children of a component as well.
1 Like