Unity3D Player Error "Receiving unhandled NULL exception Obtained 22 stack frames." - unity3d

I have developed a Unity3d Mac standalone app, which crashed after a while with the above mentioned error - the whole app gets frozen.
I have pages with a video, which I load and un-load dynamically when entering/exit the page. Most of the time the app crashed when I leave the page with the video to the menu. Anyone any idea, I did find anything valuable answer to this matter :(
----- Tests -----
After a few test runs, I narrowed it down to the video. Not sure what exactly the issue is, but when I played a video and leave the page the app freezes...sometimes immediately, sometimes after a while.
Unity 2018.1f
Tested on : Mac OSX 10.12.6 & OSX 10.11.6

After long tests and try-outs, we found a general problem with Unity and continues playing videos. After updating everything, as well as to the latest Unity2018.2 version - it finally was working well. As per Unity changelog, they did some fixes on the VideoPlayer.
Good luck.

Related

Hololens2 with MRTK 2.6.1 Losing Head Pose after device Sleep

On Hololens2 if the device goes to sleep (or press the power button off then on) and resume my app I lose head pose tracking.
I'm using MRTK 2.6.1 with Unity 2019.4.18f and the XR SDK approach.
I'm testing using the instructions here https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/tutorials/mr-learning-base-02?tabs=winxr
I'm using the DefaultHololens2XRSDKConfiguration profile.
Everything is generally fine, but after I put the headset down and it goes to sleep, or i press the power button off and on. Then launch my app again (it's still running in the background), then the head tracking is lost.
The wrist tap menu is still tracked fine. The app seems to be getting hand tracking fine (but is offset becaues the head pose position is stuck.
If i close the app and open again tracking is fine.
No errors show up in the Unity debug log (even with verbose MRTK logging on).
Any ideas? Or anyone else able to test this with similar setup?
I might try the Open XR approach next.
Cheers
This is a known issue with a fix in development still, it is recommended to keep checking the Unity releases for 2019 with getting on latest LTS for now.
This issue is fixed in Windows XR SDK 2.8 which requires Unity 2019.4.25 or later.

Unity3D gives hundrends of errors when building the game

so my Unity worked fine until now, last time I built the game was yesterday and everything worked fine. Since yesterday the only thing that I did is that I changed some colliders and removed facebook gamecenter plugin. Now, when I try to play the game, everything is fine, but when I try to build it, it starts giving me 250 errors in total.
The last error always says :
"Error building Player because scripts had compiler errors"
Others error are connected to the standard assets.
Screenshots:
For some reason this happens. There a few options of fixing it, but the easiest one to simply re-install Unity.
PS: You wont lose any data.

Google Tango: Failer to connect to tango service

so i was developing with unity and google tango. After pushing my application to the tablet it crashed with the message: "Failer to connect to tango service".
After rebooting the tablet i tried to start an application which was already on the tablet and it worked in the past. But also this application crashed. After rebooting again another application also crashed.
It seems as no application is able to start. I dont know why. I googled but i could not find any information about this. There were 2 pages on stack overflow but they got removed, so i get an "page not found" page.
Anyone was an idea how to fix this or what the problem could be ?
Thanks
for someone who maybe was the same prolem in the future:
solution for me was just installing the system update. It seems that the tango service is not working when the device has downloaded the updates but not installed it.
I ran into this problem when running the Depth Perception Tutorial. It can be one of two problems 1. the camera has crashed and you need to reset the device or 2. You need to download and install the latest Project Tango system update. You can do this by dragging your finger down the screen from the top left on the Project Tango device and applying the Tango Update. It will take a few minutes. You should not even have to reboot. Just Build and Run again. Worked for me.
The are multiple causes:
As mentioned before - the Tango Framework on the device is out of date + Tango core app is out of date.
Wrong implementation of Tango object's lifecycle. Tango object has its own strict life-cycle and if you do not implement it right it causes the Tango to malfunction.
Try to use Tango apps in order to calibrate the device

Eclipse - My app has collapsed - MainActivity and AndroidManifest are blank

I'm about to lose my mind.
Yesterday I was working a bit to get some ads in my app, which I'm trying for a long time, since there is -no- good tutorial that clears out easily on how to put them.
Anyway, yesterday I wanted to close my pc, and I got blue screen, for those who know, it's announcing a crash of your pc.
I shut down the pc manually, and at the restart, I cleaned the pc (dutch: "schrijfdefragmentatie') twice.
After that, I wanted to open Eclipse, and I got many, many errors, about Parser exception for /MainActivity/AndroidManifest.xml: Premature end of file.
and that about all my apps.
I'm trying to open AndroidManifest.xml, which gave a red error-icon, but now it's totally blank!
As for my src\com.example.appname\MainActivity.java, it's also blank !
I fear that I've lost my app due to this.
Though, I got my app on my cellphone (Android).
Can I get that version back on my pc? Because this has the only relevant code and stuff.
Or is there another way to save my app?

iPhone SDK - UIWebView embedding a YouTube Video

I am using this to prevent the app from opening the youtube app and instead plays the video whilst staying inside my app.
It works fine and all but it's a bit slow with loading it's date (they're inside a tableview, each cell for about 15 atm~).
The moment when it suddenly loads everything correctly is when this error has been passed into the debugging console:
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2 (7D11) /Symbols/System/Library/Internet Plug-Ins/YouTubePlugin.webplugin/YouTubePlugin" (file not found).
Is it possible that this slows down
the loading of the uiwebview? (as
soon as this error's been passed it
suddenly quickly loads all the
content).
If it doesn't slow anything down is it something my app could get rejected on?
Thanks in advance
you ever find an answer for this? i'm having the same issues
EDIT: this delay is only experienced when debugging on the phone. the plugin attempts to load and there is a large delay before the youtube view pops up in the webview. if you unplug the phone from xcode (disabling the remote debugger) it immediately loads the webview
The warning is there because the youtube plugin used by your device does not exist in the simulator (indeed, the youtube app is not present in the simulator either). The delay you experience is due to continuous polling of the debugger for info from the original plugin in your device.
I'm not quite sure I understand your problem. However, the three20 library has a nice youtube control for embedding in applications.