Search Issue Tracker

Fixed in 2019.2

Fixed in 2018.3

Votes

0

Found in

2018.3.6f1

Issue ID

1132280

Regression

Yes

[SRP Batcher] Crash when using shader with Error and enabling SRP batcher + Async loading new scenes

Graphics - General

-

Steps:
1. Download project attached by Roberto in comment ( case1132280_SRPBatcherBenchmark_18.3.6f1.zip
2. Open Unity
3. Open scene_hdbench1
4. On Hierarchy, select Sphere object, look at scene view
5. On ProjectView, right click on MyLitWithError_HD shader > Reimport
-> The sphere will renders as yellow lit sphere while the shader has the compilation error
-> If not, try step 6 and then retry this step
6. Change the shader of the sphere material from MyLitWithError_HD.shader to MyLitWithError.shader, and then back to MyLitWithError_HD.shader
-> The sphere now renders pink
7. Save the scene
8. Open base Scene
9. Press play
10. When initial empty scene appears (blue), press space ( then it will load the scene_hdbench1 bench) async
11. When the geometry appears press F9 to turn ON the SRP Batcher
12. Crash

Reproducible in: 2018.3.10f1, 2018.3.7f1, 2018.3.6f1 (a220877bc173)
Not-reproducible in: 2018.3.6f1 (cabfdef5eadf)
Not-reproducible in: 2019.2.0a9, 2019.1.0b8 (because the sphere still render yellow and never turn pink)

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.