You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The project context resolves just fine in Editor but, in runtime it will hit a "Null installer" error.
To Reproduce
Create a project context prefab outside of the assets/resources folder.
Add two mono installers to it. Can be anything.
Create a prefab variant of the project context, name it "ProjectContext" and place in assets/resources.
Test in Editor and build, works.
Now delete one of the mono installer scripts. Remove references to it on the base prefab and the variant if needed.
Test in Editor and build. Editor succeeds installation but built version hits "null installer".
Expected behavior
It should work the same on both Editor and build.
Extenject and Unity info (please complete the following information):
Zenject version: 9.2.0
Unity version: 2022.2.16
Project's scripting backend: IL2CPP
Runtime platform: iOS
Additional context
The only way I've found to fix this is to delete the variant and create a new variant from the original prefab.
The text was updated successfully, but these errors were encountered:
Describe the bug
The project context resolves just fine in Editor but, in runtime it will hit a "Null installer" error.
To Reproduce
Create a project context prefab outside of the assets/resources folder.
Add two mono installers to it. Can be anything.
Create a prefab variant of the project context, name it "ProjectContext" and place in assets/resources.
Test in Editor and build, works.
Now delete one of the mono installer scripts. Remove references to it on the base prefab and the variant if needed.
Test in Editor and build. Editor succeeds installation but built version hits "null installer".
Expected behavior
It should work the same on both Editor and build.
Extenject and Unity info (please complete the following information):
Additional context
The only way I've found to fix this is to delete the variant and create a new variant from the original prefab.
The text was updated successfully, but these errors were encountered: