Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b20
Issue ID
800888
Regression
Yes
[GameView] Editor crashes/hangs if too high values are entered into width/height of custom resolution (out of VRAM?)
Steps to repro:
1. Open Unity;
2. Open attached project;
3. In the Game view window expand 'Aspect ratio' dropdown list;
4. Click '+' button;
5. In the opened window type long value to both 'Width' and 'Height' fields (e.g. 99999x99999);
6. Click OK button.
Actual result:
Unity crashes (see attached gif video and screenshot).
Debug info from gdb (from Editor.log):
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Regression introduced in Unity 5.4.
This bug is apparently related to partial fix of this case: http://fogbugz.unity3d.com/default.asp?778272, but with different stacktrace and slightly different triggering conditions.
Expected result:
- Unity should not crash;
- Correct error message about clamped GameView size should be displayed (see attached expected.png file).
Notes:
- Reproducible in: 5.5.0a1, 5.4.0b20;
- Not reproducible in 5.3.5f1;
- Reproducible on both Windows 10 and OSX 10.11.4;
- Reproducible for toggling fields in 'Fixed Resolution' mode. Doesn't repro with 'Aspect Ratio' mode;
- Reproducible when overflowing both Height and Width fields. If overflowing only one of them, correct error message is displayed and Unity doesn't crash;
- Reproduces in both D3D11 and OpenGlCore modes.
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
- Select Preset "None" icon changes after switching tabs
- [Android] Crash when using xxHash3 and targeting the ARMv7 Architecture with IL2CPP Scripting Backend
- GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
- Project Settings vertical separator position is not synchronized with the mouse position when dragging it horizontally
- Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused
megaestudio
Dec 15, 2017 14:21
Reproducible in 2017.2.0f3 8196x4096 Ati HD5000 mobile