TheGameCreators / GameGuruRepo

The GameGuru Repository For Community Collaboration
http://www.game-guru.com
137 stars 56 forks source link

GameGuru MAX - Bug - MAX Crashes in Test Game When Ticking Render Static Shapes #5471

Open MonkeyFrogStudio opened 5 months ago

MonkeyFrogStudio commented 5 months ago

When I run a test game, hit TabTab, click Physics and then tick Render Static Shapes, MAX crashes. This doesn't happen all the time. In fact, the pattern seems to be:

I think I have an idea what may be causing this. I was creating custom collision meshes (.obj) to use with some models. I would take the .obj, copy it into the folder (entitybank/mycustomfolder), open the FPE for the model and change the collision mode to 8 (collision mesh) so it would use the new .obj as a collision mesh. Then I would start MAX and run a test level so I could see that the new collision mesh is good. Since the FPE was changed and the new .obj added, perhaps MAX doesn't like this and crashes. But after that, it runs fine. If I repeat this (i.e. add a different collision mesh for a different model) then I get the crash again. And, once again, a restart will work fine.

Kitakazi commented 5 months ago

I noticed this crash too the other day. When Ticking Render Static Shapes. Mine might have been slightly different though, when I click Render Static Shapes the editor will freeze for about 5 seconds. If I attempt to do anything during this freeze it will crash to desktop. If I wait it will eventually render the physics shapes like normal. So might not be exactly related to MonkeyFrogs but yea.. just wanted to mention I did experience crashing too specifically when clicking Render Static Shapes.

*edit Ok I just wanted to add I discovered that this happens on only one of my levels. That level just so happens to use the Offworld DLC which I believe is the only entities I have that use a custom collision mesh. So it could be related to that?