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.

Externalcamera.cfg breaks bows example in 2.2.1

See original GitHub issue

I know 2.2.1 is deprecated but I’m still someone in the wild using it for now.

I just noticed that when using externalcamera.cfg for mixed reality it breaks all things related to the bow example. The bow, arrows and the arrow spawner.

This is the only information I was able to get.

NullReferenceException: Object reference not set to an instance of an object
  at VRTK.Examples.Archery.BowAim.DoObjectGrab (System.Object sender, InteractableObjectEventArgs e) [0x00000] in <filename unknown>:0 
  at VRTK.VRTK_InteractableObject.OnInteractableObjectGrabbed (InteractableObjectEventArgs e) [0x00000] in <filename unknown>:0 
  at VRTK.VRTK_InteractableObject.Grabbed (UnityEngine.GameObject currentGrabbingObject) [0x00000] in <filename unknown>:0 
  at VRTK.VRTK_InteractGrab.InitGrabbedObject () [0x00000] in <filename unknown>:0 
  at VRTK.VRTK_InteractGrab.GrabInteractedObject () [0x00000] in <filename unknown>:0 
  at VRTK.VRTK_InteractGrab.AttemptGrabObject () [0x00000] in <filename unknown>:0 
  at VRTK.VRTK_InteractGrab.DoGrabObject (System.Object sender, ControllerInteractionEventArgs e) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) VRTK.ControllerInteractionEventHandler:invoke_void__this___object_ControllerInteractionEventArgs (object,VRTK.ControllerInteractionEventArgs)
  at VRTK.VRTK_ControllerEvents.OnAliasGrabOn (ControllerInteractionEventArgs e) [0x00000] in <filename unknown>:0 
  at VRTK.VRTK_ControllerEvents.EmitAlias (ButtonAlias type, Boolean touchDown, Single buttonPressure, System.Boolean& buttonBool) [0x00000] in <filename unknown>:0 
  at VRTK.VRTK_ControllerEvents.Update () [0x00000] in <filename unknown>:0 
 
(Filename:  Line: -1)

I would like to know how to modify the affected script to protect itself from this issue. I’m assuming it’s because externalcamera.cfg and mixed reality uses a 3rd controller for camera tracking and some how this is breaking something in the vrtk script.

It’s a lot of work for me to migrate to 3.1 so I cannot budget the time yet. I made poor coding decisions and I’m too tightly coupled to 2.2.1.

I would appreciate if you could post a patch that I could then manually drag and drop into my project.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ssshakecommented, May 11, 2017

Sorry dude, I was just referring to the gross income on patron. But I now understand you are allocating this for resources after reading the reddit. This is the same in how my video game earns a few thousand dollars in early access sales but I’m not personally pocketing any of the money, it sits in a bank account and is used for the purchasing of assets and resources for the game.

Thanks for the additional info and links in the reply today that actually helps me understand the issue better.

We are way off topic now so I’m sorry for this going off the rails. I am surprised that no company is interested in funding an abstraction layer like this especially since many games are steamvr, oculus and psvr capable.

1reaction
bddckrcommented, May 11, 2017

For anyone reading this in the future (don’t worry @ssshake, just making sure everyone understands this, as you’ll see in the links VRTK has got some trolls spreading false info 😩):

To be clear I do NOT make money off this project.

References: https://www.reddit.com/r/Vive/comments/654b1q/vrtk_amazing_toolkit_and_its_free_why_not_pledge/dg7o21l/ https://www.reddit.com/r/Vive/comments/654b1q/vrtk_amazing_toolkit_and_its_free_why_not_pledge/dg879tb/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Untitled
Book report essay rubric example, Fiskalische disziplin definition of insanity, ... Symphony mobile bd mobile maya sony, Tonight alive breaking and entering ...
Read more >
9600 Service Manual
The interlock circuit has been broken. ... For example -. PIO PORT ... The protective earth ground should be the last electrical connection...
Read more >
From Image-based Motion Analysis to Free-Viewpoint Video
Let's consider the example of a kinematic chain consisting of the three connected segments A,B and C, A being the root. Let the...
Read more >
DCS MiG-15bis Flight Manual EN.pdf
This document includes the history of the airplane and provides brief descriptions of the aircraft's structural elements, systems, equipment and their.
Read more >
Untitled
Free up physical system memory, External camera for ipad, ... Get out the vote examples, Bible book buy, What does repent mean in...
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