Search Issue Tracker
By Design
Votes
0
Found in
5.4.2p3
Issue ID
849361
Regression
No
Windows Player crash on Camera.RenderWithShader after Screen.SetResolution
Windows Player build crashes after executing following scenario couple times:
1. Set custom target buffers for camera with Camera.SetTargetBuffers
2. Change resolution with Screen.SetResolution
3. Call Camera.RenderWithShader (This is where it crashes)
Reproduction steps using attached project:
1. Open attached poroject (849361_Crash.zip)
2. Build & Run,
3. In Resolution Dialog select non native resolution and click Play
4. Click Change Resolution button few times
Expected result:
Resolution should change on every button click
Actual result:
Player hangs and crashes
This project contains scene with two cameras. Camera named "Camera" is here only for bug observation purposes and bug would reproduce without it.
The script that causes bug is attached to Main Camera.
Reproduced on:
Unity 5.2.5f 5.3.3f1 5.4.2p3, 5.5.0b11, 5.6.0a2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- A shader error is thrown when building a project containing a material using "Bent normal map"
- Texture generator reference image fails despite valid size
- Agent mode can enter infinite execution loop
- AI Gateway responses contain duplicated sentences
- Texture 2D asset is created when promoting a generated Cubemap to a new asset
Add comment