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.

iOS - Unable to bind

See original GitHub issue

I have been playing around to validate this tool. So far everything is working as intended. I have come across an issue trying to run a couple of tests on an iOS device. When I attempt to bind to events.debug it returns with ‘Not Found’.

I have narrowed the line of code when an exception is being thrown to EventListener line 40 eventInfo.AddEventHandler( Target, Delegate );. The exception message is ‘A null value was found where an object instance was required.’

The exact same code and bind call works in the Editor and on an Android device.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
CF-Carlcommented, May 9, 2018

That was the path I was heading down, by binding directly to the events. I did get it working for the singleton classes, but for some reason it is failing on the Tutorial.OnPickupCollected event. It mentions it has bound to it, but for some reason I am not getting the event dispatch. I am only guessing this is due to the fact that Tutorial is not a singleton like Events.

For context I am using Unity 2017.2 and have registered the Tutorial class using the UniumRegister component.


I was able to get it working. I deleted my project and got the latest again just to start a fresh. Updated the event binding with your code and I was away.

Thanks for your help. And so far I am excited to see what I can achieve with your tool.

0reactions
gwareddcommented, May 9, 2018

Glad you got it working. I’ll update the code accordingly when I have a moment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If your iPhone or iPad won't connect to a Wi-Fi network
Restart your iOS or iPadOS device. Restart your router and cable or DSL modem by unplugging the device and then plugging it back...
Read more >
Fix: Why Can't I Bind Apple ID Using 3uTools?
Connect iPhone to PC using the USB cable. Step2: After it's connected, click Apps -> Bind -> enter Apple ID and Password ->...
Read more >
Find My iPhone Unable to Connect to Server? Top 6 Fixes ...
Why is Find My unable to connect to server? What to do in this case? Here in this article, we will give you...
Read more >
Failed to bind EAGLDrawable iOS swift
For anyone having the same problem as I was. I declared the mapView as a global variable because of my code.
Read more >
Quick Fix: Find My iPhone Unable to Connect to Server
Way 1. Re-log into iCloud. If your Find my iPhone's unable to connect to the server, then you can try logging out of...
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