Search Issue Tracker
By Design
Votes
0
Found in
5.5.1p2
Issue ID
903274
Regression
No
Huge scene load time when there is and object with specific shader
Reproduction steps:
1. Open project attached(Repro.zip).
2. Open scene "0" from Assets folder.
3. Press play.
Expected result: Game will switch scenes instantly.
Actual result: It takes about 15-25 secs.
Notes: Shader has an error "Static/StaticShaderOneSide_S: failed to open source file: 'StaticEffect.cginc' at line 27"
When you press play, it should should switch from scene "0" to scene "1".
Huge load time also detected after dragging prefab (Assets/Resources/WeaponShelfTest/WeaponShelf) to scene while being in play mode and then pressing stop.
Workaround: Make materials to use standard shader instead of "StaticShaderOneSide_S".
Reproduced on: 5.5.2f1, 5.6.0p2, 2017.1.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [VFX] Custom HLSL with 'int' parameter, without the 'in/out/inout' access modifier is not supported
- [Windows] Lens Flare doesn't work in the Lens Flare Showroom URP Sample Scene
- Crash on ujob_execute_job while using OverlapBoxCommand when collisions are more than maxHits
- The validity of the multiple handles can behave differently based on the load/release operations order, when multiple Addressables.LoadAssetAsync and Addressables.Release are used to load and release the same Addressable Asset
- Dynamic text is rendered in the background when it is inside the <font> tag
Add comment