Search Issue Tracker

Fixed in 2019.3.X

Fixed in 2018.4.X, 2019.1.X, 2019.2.X

Votes

1

Found in

2018.3.0b9

2018.3.14f1

2019.1.0a1

2019.3.0a1

Issue ID

1152462

Regression

No

[UWP] Assertion failed on expression: 'index < size()' error are thrown when using Mixed Reality Toolkit v2

XR SDK

-

Steps to reproduce:
1. Download attached project
2. Switch platform to UWP
3. Build the project with Scene/SampleScene
4. Open VS solution and build project (Debug, x64, Local machine)

Results: Player trigger an exception.
Assertion failed on expression: 'index < size()'
UnityEngine.XR.WSA.Input.InteractionManager:GetCurrentReading_Internal(InteractionSourceState[])
UnityEngine.XR.WSA.Input.InteractionManager:GetCurrentReading(InteractionSourceState[])
Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityDeviceManager:Enable()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterServiceInternal(Type, IMixedRealityService)

Reproduced with: 2019.3.0a2, 2019.1.2f1, 2018.4.0f1

Note:
- Tested and reproduced on HoloLens v1 and Desktop
- Not reproducible with release/master configuration
- Could not reproduce in 2019.2 due to multiple errors thrown by MRTK in this Unity version
- To build this project it is necessary to have the latest Windows Insider version and Windows SDK 18362+
- C# 6.0 is required for MRTK v2

  1. Resolution Note (fix version 2019.3):

    Addec check for empty set to make sure we don't try to index into an empty dynamic array/

  2. Resolution Note (fix version 2019.2):

    Backport

  3. Resolution Note (fix version 2019.1):

    Backport

  4. Resolution Note (fix version 2018.4):

    Backport

Comments (1)

  1. spietraszek-wastelands

    May 16, 2019 17:34

    Same here.
    Reproduced with: 2019.1.1f1, 2018.4.0f1
    Error visible only by building (Debug, x86, Device) and only on device itself
    MRTK v2 Release Candidate 1 Refresh

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.