Simple Parts Pack for Flan's Mod

Simple Parts Pack for Flan's Mod

903k Downloads

[1.12.2; FlansMod Beta8] Game freezes and then crashes when firing a vehicle gun with MalisisCore installed

CaveMiner1215 opened this issue ยท 1 comments

commented

To Reproduce
Steps to reproduce the crash:

  1. Get into a world with both the latest Flan's Mod and MalisisCore installed.
  2. Place any tank.
  3. Load it with any compatible shell.
  4. Fire the main gun (you may find that the shell will explode upon leaving the tank's barrel, which is another issue with the incompatibility; to avoid this, either aim your gun higher or break and replace the vehicle).

After following these steps, the game should freeze around 4-5 seconds after firing the shell.

Screenshots
Not Applicable

Versions (please complete the following information)

  • Forge: 1.12.2 build 2847
  • Flans' Mod: 5.6.0 Beta 8

Crash Log
https://gist.github.com/CaveMiner1215/c274c439c0b9457701e1998cee44d0fa

Additional context
When firing tank or aircraft guns while MalisisCore is installed, the game will freeze, requiring a forced shut down, producing a crash report detailing a StackOverflowError due to the ray tracing class(es). The fix released in Beta8 did not fix this issue; the crash still occurs with this version.

commented

@ChrisLane

I just tried a build with your change implemented. The crash is indeed fixed, however tanks shells still explode right outside the tank's barrel. Unlike in other builds, however, this cannot be avoided by simply aiming higher.

All other guns, including tank machine guns, work just fine though.