Editor crashes with specific set of instances in StaticMeshComponent ("trying to invert a NIL matrix")
Hello, this crash happens with 4.11.2 on Windows 7 x64.
I have a custom actor with a UInstancedStaticMeshComponent attached to a USphereComponent as root. As Mesh I use "/Engine/BasicShapes/Sphere". When I add a special combination of instances to this UInstancedStaticMeshComponent the editor crashes with the following error:
Asking google lead me to the following Bug report which lacked a reproducible example: https://answers.unrealengine.com/questions/329760/crash-because-of-nan-dynamic-shadows-related.html
I have created a test project which crashes always on my machine. It just includes a custom class "CrashingActor". Trying to place an instance of that class in a level using the editor leads to a crash with the above error. I couldn't narrow the error down to a single instance. It is somehow related to an interaction between these instances. I know that the coordinates are quite unrealistically to be ever used in production. This is just the (reduced) output of a particle simulation gone wild. But I didn't expect a crash until I threw NaNs at it.
I hope I am using everything correctly. The project is just a stripped down standard-project with a custom actor which has in the constructor:
Thanks in advance for the help!
I entered a bug report, UE-31075 , to investigate the error message you reported. I did notice that this is an ensure that is being triggered. Since you are debugging through Visual Studio you should be able to press the Continue button to continue working in the editor.
answered May 20 '16 at 02:02 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here