Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.1.1f1
Issue ID
1042803
Regression
No
Editor crashes when adding scripted water asset to scene with terrain in LWRP
How to reproduce:
1. Download and open attached "case_1042803-Repro" project
2. Load "level01" scene
3. Add "WaterProDaytime" asset to scene from Assets\Standard Assets\Environment\Water\Water\Prefabs
Expected result: Editor does not crash
Actual result: Editor crashes
Reproduces with: 2018.1.2f1, 2018.2.0b6
Notes: Adding any scripted water asset to the scene results in crashing (You can find more similar assets in Assets\Environment\Water\Water(Adv)\Water4\Prefabs).
Disabling Lightweight Rendering Pipeline in Graphics settings and following steps above results in not crashing.
Used assets are from "Standard Assets" pack from Asset Store.
Also disabling "Water" script for mentioned assets fixes the issue.
Top of stacktrace: PrepareRenderNodesOnMainThreadDeprecated
Update: The issue won't be fixed since Standard Water Asset is not supported by LWRP. The crash happens due to a call on Camera.Render inside OnWillRenderObject callback. The ability to call Camera.Render in SRP will be removed and examples will provided on how to do it with SRP API soon.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on memcpy when opening a project that loads TSS files
- Multiple errors appear when compiling a ShaderGraph shader's code in a specific project
- TextMeshPro memory leak occurs when reloading the scene using Addressables
- Vector3 node has no X, Y, Z outputs when adding Vector3 node in the Visual Effect Graph
- [Android] Error "Blitter is already initialized" is present when Adaptive Probe Volumes are used with OpenGLES3
unity_tayhIz35pifgBg
Jun 14, 2018 20:18
yeah,have same problem