playMaker

Author Topic: [SOLVED] SteamVR Action Stack Overflow?  (Read 6444 times)

LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 227
[SOLVED] SteamVR Action Stack Overflow?
« on: October 19, 2018, 08:46:16 PM »
I'm having a problem with the new SteamVR 2.0 asset, i was working on some new actions and with the last version they worked just fine. However with 2.0 i'm getting a stack overflow and editor lockup/crash when selecting one of the default boolean actions.

The stack overflow happens after selecting the default SteamVR action "GrabPinch" in the active state/action and then right clicking on one of the transitions in the fsm.

Not sure if this is a PlayMaker or SteamVR problem, thought somebody might know?



https://imgur.com/OLbumVL
« Last Edit: October 23, 2018, 08:32:26 AM by LordHorusNL »

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: SteamVR Action Stack Overflow?
« Reply #1 on: October 21, 2018, 10:15:12 AM »
Hi, who did you buy the actions from? Also, steam v2 is not backwards compatible with v1, so I believe those actions would need to be rewritten.

Here is the last copy of version one, in case you need to roll back: https://github.com/ValveSoftware/steamvr_unity_plugin/tree/v5

This is Version 1.2.3.

LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 227
Re: SteamVR Action Stack Overflow?
« Reply #2 on: October 21, 2018, 12:43:58 PM »
I'm not talking about the actions for the previous version of the asset.

I'm working on my own set of actions specifically for SteamVR 2.0.

However since the last update for 2.0 they changed the type of input for the SteamVR_Action_Boolean to a drop down menu instead of drag and drop.

This is when the stack overflow started happening, in C# it works just fine.

It's a very broad question i know, i just thought somebody might know why this kind of overflow would happen.

I've tried changing the input to a normal FsmObject and then converting this to the SteamVR_Action_Boolean. Without much luck ;D
« Last Edit: October 21, 2018, 12:50:08 PM by LordHorusNL »

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: SteamVR Action Stack Overflow?
« Reply #3 on: October 22, 2018, 08:34:00 AM »
You would need to contact the asset creator, which is not playmaker.

LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 227
Re: SteamVR Action Stack Overflow?
« Reply #4 on: October 22, 2018, 06:33:24 PM »
Never mind, i got it to work eventually. The solution was to use an FsmObject and cast that to SteamVR_Actions_Boolean.

If that makes sense ;D

Thanks for the response.