Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.5.0a6
Issue ID
824452
Regression
Yes
[PlayerSettings] OpenGL context (DEADDEADDEADDEAD) assertion appears after switching Graphics API
Steps to repro:
1. Open Unity;
2. Create new project;
3. Go to PlayerSettings (Edit -> Project Settings -> Player);
4. In the Inspector uncheck 'Auto Graphics API for Windows';
5. Click '+' button;
6. Select 'OpenGLES2' graphics API;
7. Drag and drop 'OpenGLES2' platform on top of Direct3d11 to switch graphics API to OpenGLES2;
8. Drag and drop 'Direct3D11' platform on top of OpenGLES2 to switch graphics API to Direct3d11;
9. Observe the console.
Actual result:
'The new context (0000000000020007) must already be the current OpenGL context (DEADDEADDEADDEAD)' error is thrown in the console. See attached video and actual.png screenshot.
Regression introduced in Unity 5.5.0.
Expected result:
Graphics API should be switched without errors.
Notes:
- Reproducible in 5.5.0a6;
- Not reproducible in 5.4.0f3, 5.4.0p2;
- Reproducible on both Windows 10 and OSX 10.11.6;
- Note that bug's reproducibility on OSX and Windows vary depending on command line arguments. On OSX the bug reproduces when switching graphics API from OpenGlCore to Metal only when launching Unity in -force-gfx-direct mode and doesn't repro in general multi-threaded mode. On Windows the bug reproduces only in multi-threaded mode and doesn't repro in -force-gfx-direct.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Maximising Game view window on one display makes black bars appear on another display
- Creating a 3D Object when using 2 monitors and 2 Game View Windows on different monitors the created 3D Object only appears on one of them
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
Add comment