I found the problem, the loop wasn’t checking if the Actor is Equal so it was constraining a actor on it self. There is a image below showing the fix.
This doesn’t sound like a must-fix bug, but I isolated the problem on a ThirdPersonTemplate just in case. The project is attached here and play/stop should crash the editor.
Few things:
- The blueprint name is “crash” and it is spawned in the level blueprint.
- The mesh is a BSP converted into mesh.
- If you delete the static mesh on the actor it won’t crash.
- If you swap the static mesh with the box collision (to be the root), won’t crash.
- In the LevelBP, if change the RandomFloatInRange to 10-20, won’t crash.
- If you disconnect “SetConstrainedComponents” on the “crash” blueprint, won’t crash.
Project File: https://dl.dropboxusercontent.com/u/10441081/JewelCrash_V4.zip