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
Right now when USyrup fails to inject an GameObject in the scene it will through a generic MissingDependencyException. This differs from when we validate the graph where we throw a much more helpful error message detailing all the missing dependencies. We should do one of the following:
Validate all GameObjects in the scene that are injectable during graph validation. This will be a bit more expensive to do so we can maybe put it behind a flag.
Upon failing to inject a game object take the time to build the missing dependencies in the graph and output a similar message as we do in graph validation.
There are pros/cons to each. I'm leaning toward (2) because its simpler and makes a bit more sense semantically.
The text was updated successfully, but these errors were encountered:
Jeffan207
changed the title
Add Validation Options for GameObjects in Scene
Add Validation Options or Better Logging for Missing Dependencies for GameObjects in Scene
May 29, 2022
Right now when USyrup fails to inject an GameObject in the scene it will through a generic MissingDependencyException. This differs from when we validate the graph where we throw a much more helpful error message detailing all the missing dependencies. We should do one of the following:
There are pros/cons to each. I'm leaning toward (2) because its simpler and makes a bit more sense semantically.
The text was updated successfully, but these errors were encountered: