VContainer
VContainer copied to clipboard
NullRefException when Injecting GameObjects that have missing components
Due to my multiplatform setup some component don't get compiled and Unity holds "Missing Script" components, that throw null ref on Container.cs line 95 coming from ObjectResolverUnityExtensions.cs line 21
If a null check would solve the problem, I would consider it.
However, Container.cs:95 is just running user code. I would like you to share the LifetimeScope and other important parts of the problem, that and the complete stack trace.