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
- [Linux] Top left corner of the screen is unresponsive when the Editor recompiles
- [Android] [Vulkan] Cubes stuck on the first few frames of rotation and application flickering when an Overlay Camera is added to the Camera Stack with MSAA enabled
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
unity_tayhIz35pifgBg
Jun 14, 2018 20:18
yeah,have same problem