Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MRKT3 pre.16 crashes in Unity 2021.3.21f1 #91

Closed
IssueSyncBot opened this issue Aug 20, 2023 · 10 comments
Closed

MRKT3 pre.16 crashes in Unity 2021.3.21f1 #91

IssueSyncBot opened this issue Aug 20, 2023 · 10 comments
Assignees
Labels
Type: Bug A problem with an existing feature that can be fixed with the next patched release.

Comments

@IssueSyncBot
Copy link

IssueSyncBot commented Aug 20, 2023

Original issue opened by:

@LocalJoost LocalJoost


Describe the bug

MRKT3 pre.16 crashes in Unity 2021.3.21f1

To reproduce

Steps to reproduce the behavior:

  1. Get repo https://github.com/LocalJoost/CrashRepro
  2. Open in Unity 2021.3.21f1
  3. Build C++ solution for UWP
  4. Open in VS2022 (17.5.3)
  5. Deploy to HoloLens (Master/ARM64) using Visual Studio
  6. Start app on HoloLens
  7. App shows rotating orbs, then crashes
  8. Downgrade project to Unity 2021.3.16f1
  9. Repeat steps 3-56
  10. App runs normally

Expected behavior

App should not hang even when built with 2021.3.21f1

Target platform (please complete the following information)

  • HoloLens 2

Additional context

Add any other context about the problem here.


ISSUE MIGRATION

Issue migrated from: microsoft/MixedRealityToolkit-Unity#11604

@IssueSyncBot IssueSyncBot added MRTK3 Type: Bug A problem with an existing feature that can be fixed with the next patched release. labels Aug 20, 2023
@IssueSyncBot
Copy link
Author

Original comment by:

@marlenaklein-msft marlenaklein-msft


The HL crash may be due to a bug in the Unity input system package. Does the project use an InputSystem version <1.5.1?
(I can't see any code in the linked repo).

@IssueSyncBot
Copy link
Author

Original comment by:

@LocalJoost LocalJoost


That is correct, because there IS no code. It's only a scene with a cube. Assuming you mean com.unity.inputsystem, it says 1.4.4

@IssueSyncBot
Copy link
Author

Original comment by:

@AMollis AMollis


@LocalJoost the repo only has a LICENSE file. At least that's all I'm seeing

@IssueSyncBot
Copy link
Author

Original comment by:

@LocalJoost LocalJoost


My bad. I use TortoiseGit, and it remembers the last setting. In the previous repo I worked on I committed, but did not push. I did not check before committing the CrashRepo. So I committed - but did not push. This has been fixed. There should be code in it now

Going to hide under a rock now ;)

@IssueSyncBot
Copy link
Author

Original comment by:

@shaynie shaynie


Hi @LocalJoost, I believe the crash you are seeing is the StackOverflow crash during device initialization that was fixed in the com.unity.inputsystem 1.5.1 package. Could you please try upgrading the input system to 1.5.1 or greater? Thanks!

@IssueSyncBot
Copy link
Author

Original comment by:

@AMollis AMollis


@LocalJoost , @shaynie is correct, this is a stack overflow introduced in Unity 1.5.0 input package. Unity automatically upgrades to 1.5.0 in 2021.3.21.

Here's the MRTK bug that was tracking this issue

@shaynie / @marlenaklein-msft, should we update MRTK3's min version of com.unity.inputsystem 1.5.1 to avoid this problem in the future?

@IssueSyncBot
Copy link
Author

Original comment by:

@marlenaklein-msft marlenaklein-msft


I think this is a good idea

@IssueSyncBot
Copy link
Author

Original comment by:

@AMollis AMollis


@LocalJoost I'll repurpose your issue to upgrade MRTK's min input system version.

@IssueSyncBot
Copy link
Author

Original comment by:

@AMollis AMollis


Upgraded our min version to 1.5.1 to avoid people hitting this in the future

@IssueSyncBot
Copy link
Author

Original comment by:

@hummlj hummlj


Hi, I'm experiencing the same issue with MRTK3 pre. 16, Unity 2021.3.27f1 LTS, Unity Input System 1.6.1, VS2019(16.11.26), Release ARM64, and the well known "3D Object > Cube" setup check... But works with VS2022(17.6.3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug A problem with an existing feature that can be fixed with the next patched release.
Projects
None yet
Development

No branches or pull requests

2 participants