All of the following criteria must be met
All of the following are optional to answer
Describe the issue.
At:
|
Main.component = Main.obj.AddComponent(Il2CppType.Of<SM_Component>()).TryCast<SM_Component>(); |
sometimes Il2CppType is not fully initialized yet, causing
AddComponent to return null.
Did you attach your log file?
No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log
All of the following criteria must be met
All of the following are optional to answer
Describe the issue.
At:
MelonLoader/Dependencies/SupportModules/Component.cs
Line 30 in a81fe06
AddComponentto return null.Did you attach your log file?
No, I could not find a log file at
{Game_Directory}\MelonLoader\Latest.log