Search Issue Tracker
By Design
Votes
0
Found in
Issue ID
1058818
Regression
No
[LWRP] WaterTile.cs Camera.current null exception.
SRP Repo: Issue #1541
What happened?
In WaterTile.cs ( From Standard Assets/Environment ) when rendering the Game view, the function OnWillRenderObject() is called with a Camera.current = null.
Which package (Shader graph, LW, HDRP, Core...)?
LW
Unity template or github source code?
Standard Assets code.
Which package version or branch (1.1.8-preview, 2.0.0-preview, 2018.1, 2018.1-experiment, 2108.2...)?
Preview from 2018.1.1f1
Unity version, operating system, target platform (standalone windows, mac, iOS, PS4...)?
Windows Editor. Play Mode.
sebastienlagarde commented 14 days ago
OnWillRenderObject() can't be use to render reflection (cause infinite recursion in SRP), use BeginCameraRendering instead
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment