Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2017.4.X, 2018.4.X, 2019.2.X
Votes
1
Found in
2017.3.0a1
2018.3.0a1
2018.3.0f2
2019.1.0a1
2019.2.0a1
Issue ID
1115371
Regression
No
[XR] WindowsMR project crashes when enabling XRSettings for a second time
Steps to reproduce:
1. Download 1115371_repro.zip project
2. Switch platform to UWP
3. Build "SampleScene" scene
4. Open Visual Studios solution and build project (Debug, x64, Local machine)
5. App automatically enables and disables XRSettings every 10 seconds
Results: When enabling XR for second-time app crashes
Exception thrown at 0x00007FFD27715299 (KernelBase.dll) in New Unity Project (2).exe: WinRT originate error - 0x8000000E : 'An attempt was made to acquire a buffer before it became available. Present() must be called before attempting to acquire this buffer.'.
Reproduced with: 2019.2.0a1, 2019.1.0a13, 2018.3.2f1, 2017.4.18f1
Not reproducible with OpenVR SDK on Stanalone platform
Call Stack:
> UnityPlayer.dll!VREyeTextureManager::ResolveDepthToEyeTextures(class RenderTexture ,class RenderTexture ) Unknown
UnityPlayer.dll!VRDevice::ResolveColorAndDepthToEyeTextures(class StereoRenderTexture const &,bool) Unknown
UnityPlayer.dll!CameraStackRenderingState::EndStereoRendering(void) Unknown
UnityPlayer.dll!RenderManager::RenderCameras(int,void ()(void),void ()(void)) Unknown
UnityPlayer.dll!PlayerRender(bool) Unknown
UnityPlayer.dll!`InitPlayerLoopCallbacks'::`2'::PostLateUpdateFinishFrameRenderingRegistrator::Forward() Unknown
UnityPlayer.dll!ExecutePlayerLoop(struct NativePlayerLoopSystem ) Unknown
UnityPlayer.dll!ExecutePlayerLoop(struct NativePlayerLoopSystem ) Unknown
UnityPlayer.dll!PlayerLoop(void) Unknown
UnityPlayer.dll!UnityPlayer::AppCallbacks::DoPerformUpdateAndRender(void) Unknown
UnityPlayer.dll!UnityPlayer::AppCallbacks::_AppThreadImplementation(void *) Unknown
kernel32.dll!BaseThreadInitThunk() Unknown
ntdll.dll!RtlUserThreadStart() Unknown
Comments (4)
-
IElectric
Jul 05, 2019 18:48
Hello, I know that on Unity 2018.4 the issue is fixed, any plan to fix the same on Unity 2019.1 or next version ? Please, let me know, thank you, Best regards...
-
IElectric
Apr 29, 2019 18:51
Hello, I have found that the Unity 2019.1 still have the same issue, can you suggest me a workaround until the problem will be fixed ? I'm sorry but with this issue I can't update my game on Microsoft Store because it doesn't pass the certification, thank you a lot, Best regards...
-
IElectric
Jan 20, 2019 09:59
Hello, any news about this issue ? there is a workaround, like to call a Windows Runtime function before enable XR, in the mean time ? thank you very much, Best regards...
-
IElectric
Jan 20, 2019 09:55
Hello, any news about this issue ? there is a workaround, like to call a Windows Runtime function before enable XR, in the mean time ? thank you very much, Best regards...
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 2019.3):
Fix null deref issues (and protect other access points that were unprotected).
Resolution Note (fix version 2019.2):
Backport
Resolution Note (fix version 2018.4):
Backport
Resolution Note (fix version 2017.4):
Backport