Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.3.X, 2020.1.X
Votes
0
Found in
2019.3.0a8
2019.3.1f1
2020.1
Issue ID
1221822
Regression
Yes
Crash on RepaintController::RenderPlayMode when setting the Game View Resolution to dimensions with a large difference
How to reproduce:
1. Open attached project "Case_1221822"
2. Open Game View Window
3. Change the Game View Resolution to "crash (81921x10)"
Reproducible with: 2019.3.0a8, 2019.3.3f1, 2020.1.0a25
Not Reproducible with: 2017.4.37f1, 2018.4.18f1
First lines of the stack trace:
0x00007FF7D6D7F765 (Unity) RepaintController::RenderPlayModeViewCameras
0x00007FF7D75097FE (Unity) EditorGUIUtility::RenderPlayModeViewCamerasInternal
0x00007FF7D7D40832 (Unity) EditorGUIUtility_CUSTOM_RenderPlayModeViewCamerasInternal_Injected
0x00000157D4A84B27 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal_Injected (UnityEngine.RenderTexture,int,UnityEngine.Vector2&,bool,bool)
0x00000157D4A84A63 (Mono JIT Code) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal
Notes:
1. Reproduces when one dimension is set to 81921 - 99999 and the other is set to 10
2. Throws an error on 2019.3.0a7 and earlier "RenderTexture.Create failed: width & height must be larger than 0"
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
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
- The build size is larger when Models have Animation Type set to Generic
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a2
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.0b1
Resolution Note (fix version 2019.3):
Fixed in 2019.3.6f1