-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Injected fields returning injected types cause a crash #97
Comments
simonkellly
changed the title
Injected fields which return injected types throw null reference exception when injecting in wrong order
Injected fields returning injected types cause a crash
Jun 17, 2023
💤 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you do the following
The game will crash once you call Object.Instantiate(myTestObj)
Though, if you switch the return type to be something more generic i.e MonoBehaviour in myBehaviour, it works fine
The text was updated successfully, but these errors were encountered: