In LocalizationParamsManager, I commented the following function :
public void AutoStart()
What is the reason of this crash ? And why does it happen suddenly after update Unity ? My LocalizationParamsManagers are attached to prefabs that are not instantiated at this point and _AutoRegister is set as false on them.
Karim from Largelabs
The administrator has disabled public write access.
What is the reason of this crash ? And why does it happen suddenly after update Unity ?
This is a bug in Unity. It seems that in the latest versions they changed when the RuntimeInitializeOnLoadMethod attribute is executed, and at that time, not all the object data is correctly loaded.
Also, this doesn't happen in both .NET and IL2CPP, just one of them depending on what Unity you are using.
I reported that bug, but while its been fixed, (as @koalitygame said) I also added a fix to the latest version of I2L. basically just removing the needed for AutoStart given that currently they get initialized when needed and the LocalizationManager also iterates them if they haven't been initialized when localizing the scene for the first time.
Hope that helps,
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!