Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(UI): check for error with null event camera
When working with additive scenes there is null exception if: - first scene has a UICanvas, but no camera - second scene is the one with a camera As soon as the first scene is loaded, the raycast gives an error because trying to do an update but there is no camera. The error stops after the second scene is loaded. Thanks to @interillusion for the fix.
- Loading branch information