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
-
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
- [Linux] Editor assertion causes Test Runner to fail when executing it in Batch Mode
- Color selection by the mouse cursor is still enabled when the "Esc" button is pressed
- Game view becomes black and the Scene window becomes grey, “ArgumentOutOfRangeException” errors and “Render Pipeline error” warnings appear after changing the name or deleting URP/HDRP global settings file
- Transform Component is not accessible inside the Player when RuntimeInitializeOnLoadMethod is used
- [Linux][Plastic SCM] Unity Version Control window text is replaced by the key names of the labels and buttons
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