Crash after changing C++ from Actor to Component
I wanted to Report a bug:
When I create a Class which derives from AActor and place it in the World and Change this Actor afterwards to a USceneComponent the Engine crashes and doesn't load the map anymore.
The Crash is in the Level.cpp (Line 762) where the AttachedDepth is calculated.
I debugged this and saw that L is my previous Actor which is now a SceneComponent
asked May 25 '16 at 09:50 AM in C++ Programming
Hey Cloudy McStrife-
Components alone are not meant to be added to the viewport. The crash is occurring when the level attempts to process the "actor" that was placed but can't recognize it. Changing the type of a class (Actor, Character, SceneComponent, etc.) after creating it is not a supported workflow. If you change the class back to Actor, you should be able to open the map again.
answered May 25 '16 at 06:53 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here