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.
Comments (1)
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
- WebGL build dependencies are not refreshed until the Editor is restarted
- “Audio Random Container” allows adding unlimited number in “Audio Clips” numeric field, causing Editor to freeze
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
unity_tayhIz35pifgBg
Jun 14, 2018 20:18
yeah,have same problem