IllusionMods / IllusionModdingAPI

Modding API for games made by Illusion (PHAPI / KKAPI / ECAPI / AIAPI / HS2API / KKSAPI)
https://www.patreon.com/ManlyMarco
GNU Lesser General Public License v3.0
260 stars 44 forks source link

HS2API crashes and meet white screen #76

Open crazy-night opened 3 months ago

crazy-night commented 3 months ago

After update api, I met crashes. The output.log may show where the bug occurs:"[Error :Null Checks] Swallowing exception to prevent game crash! System.NullReferenceException: Object reference not set to an instance of an object at KK_Plugins.InvisibleBody+Hooks.InitShapeFace (AIChara.ChaControl instance) [0x00006] in <5c4443eac967498687303f21b6ae8da9>:0 at (wrapper dynamic-method) AIChara.ChaControl.DMD(AIChara.ChaControl,UnityEngine.Transform,string,string,string) at AIChara.ChaControl+d477.MoveNext () [0x00331] in :0 at IllusionFixes.NullChecks+<g__EatExceptionWrapper|5_0>d.MoveNext () [0x00019] in :0"

crazy-night commented 3 months ago

ok, I got it. Maybe I should wait other plugins based on hs2api update。。。

crazy-night commented 3 months ago

Now I think it's still api's bug. Because I met many plugins occured error, like overlay, Invisible Body and so on. And when I turned to version1.40 it didn't appeared. From my opinion, your changes on SequenceFast may cause the error, since the error plugins are all about texture.