question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

StackOverflowException - VRTK.ObjectInteractEventHandler in Unity Build

See original GitHub issue

Environment

  • Source of VRTK: GitHub from 06 March 2017
  • Version of VRTK: GitHub 1dd32c6dea2762a0298f60a32ae52c3320df979f
  • Version of Unity3D: 5.6.0b10

Steps to reproduce

  • Not sure exactly - issue relates to grabbing and ObjectInteractEventHandler. It may possible be caused by recent changes to grab mechanics.
  • When the error occurred I was interacting with Unity UI on a canvas, the canvas is attached to a VRTK interactive object that is grabbed.
  • After reverting my version of VRTK to 87cc894c10e36faf22c15e8ab5f5cfa72ae768b1 the problem went away.

Expected behavior

  • Can move around the level and grab objects, no stack overflow error occurs.

Current behavior

  • After moving around the level and grabbing / interacting with objects and UI a few times, the stack overflow error occured. Seems to follow a pattern, in terms of the frequency for occurring. Once it happened the running game did not recover.
  • Error from Unity log:

StackOverflowException: The requested operation caused a stack overflow. at (wrapper delegate-invoke) VRTK.ObjectInteractEventHandler:invoke_void__this___object_ObjectInteractEventArgs (object,VRTK.ObjectInteractEventArgs) at (wrapper delegate-invoke) VRTK.ObjectInteractEventHandler:invoke_void__this___object_ObjectInteractEventArgs (object,VRTK.ObjectInteractEventArgs) at (wrapper delegate-invoke) VRTK.ObjectInteractEventHandler:invoke_void__this___object_ObjectInteractEventArgs (object,VRTK.ObjectInteractEventArgs) ...

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

0reactions
wildstyle007commented, Mar 10, 2017

Thanks for troubleshooting and fix guys!

Read more comments on GitHub >

github_iconTop Results From Across the Web

StackOverflowException
Hi. I have very weird problem when it comes to compiling my project. On editor and play mode everything seems fine.
Read more >
Oculus Quest Haptics Feedback not working when building
I'm trying to set up the haptic feedback on oculus quest in Unity, using VRTK but it doesn't work, both with the VRTK...
Read more >
StackOverflowException when using SDK_UnityController
Opened the project in Unity 2017.4.0f1 via Unity Hub with windows selected as the build target; Confirmed "Opening project in non-matching ...
Read more >
How To Use VRTK & Tillia with the De-Panther Unity WebXR ...
... to make it faster to build out VR scenes with VRTK. WebXR Setup Video : https://youtu.be/nPAHZ9Rm8d4 De-Panther WebXR Unity Exporter ...
Read more >
VR Development in Unity - Getting Started With VRTK v4
Learn the basics of how to get started with VRTK v4 and build a simple VR scene with Unity. * VRTK v4 Tilia...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found