When spawning the prefabs for fossilizing_fx the game crashes due to arithmetic on a boolean. This occurs on line 69 of fossilized_fx.lua. The line reads
local s = (parent ~= nil and parent:GetPhysicsRadius(.5)) + 1
I'm not sure when this line was changed but the "or 0.5" was removed and put into the GetPhysicsRadius method. I assumed this was to shorten it and force 0.5 to be returned if the radius did not exist (not sure if that's what the parameter does), but the "or 0.5" was there just in case parent was nil and that is why this crash is occurring. The line should be this:
local s = (parent ~= nil and parent:GetPhysicsRadius(.5) or 0.5) + 1
Let me know if you need any more information regarding this bug or similar bugs.
Notes:
- The Client Log provided has the beta branch for Forged Forge installed.
- The Forged Forge mod does not cause this as it simply calls the original code.
Steps to Reproduce
1. Spawn "fossilizing_fx" OR 2. Play on a server that has the Forged Forge mod and use the Petrifying Tome because that uses the prefabs for fossilizing.
1. Spawn "fossilizing_fx" OR 2. Play on a server that has the Forged Forge mod and use the Petrifying Tome because that uses the prefabs for fossilizing.
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now