Webplayer + Firefox 3 = crash

I’m working on making a simple webplayer version of my graduation project, but unfortunately it makes Firefox 3 crash.

Are there any knows problems with this browser ?

It works perfectly in safari.

My system is OsX 10.5.4 and I’m using Unity 2.02

thanks

Your web player most likely produces null reference exception. Check console log when running through Safari.

check if you have piclens installed / enabled
Disable it will solve the issue.

Thanks for reminding me about the console Joachim, I completely forgot about that extremely useful application. I didn’t find any errors though, but my web player suddenly decided that it was time to work in Firefox 3.
Why it now works is a mystery, because I didn’t create a new web player or anything. I simply closed and reopened firefox and then it worked, but I have done that soooo many times without any effect.

If anybody “dares” to test it in firefox 3 and report back I would be extremely thankful

http://www.aneks.dk/social_webtest/

thanks

Just tried it on FF3 on OS X Leopard.

No crash here.

Are you using browser communication? Specifically GetUnity().SendMessage ?

I refreshed it about 50 times to see if it was similar to a problem I am trying to nail down.

With FF3 on OS X I can get browser communication to fail (I use it for cookies). Specifically the GetUnity().SendMessage fails randomly…
I setup a test app for this problem:
http://protonfoundry.com/SendMessage/

I just had to refresh my test program about 150 times before I got one that failed. Typically it only takes about 50 tries. But with my real program, it happens more often (like every 5 times).

If you are using browser communication, this could result in a random null reference depending on what your code does.

the sendmessage works here on Vista64 FF3.0.1 with no probs in 10 tests
The social webtest thought crashed the whole FF in most cases but once it loads once without failing it works.

Looks to me like the error is in the code that it tries to use some data that have not fully been loaded from web or the like

Everything works just fine in FF3 for me.

I also gotta say that this is absolutely beautiful! The art style is just wonderful, and the elements works great together. I love the movement of the worm, the trippyness of the planet and flowers and the storybook style stars. With sound and a social dimension (I suppose?) this will easily be some of the most imaginative work I’ve ever seen done with Unity. I can’t wait to try the final thing.

The Unity user in me is impressed by the spacescape as well. Are both the stars and the nebulae particles?

Web player finished loading and then crashed. Firefox 3, Mac OS X 10.5.4, iMac 06/07 Model.

Guess what…
I hadn’t Piclens, launch the webplayer = no crash
I install Piclens, launch the webplayer = crash
I uninstall Piclens, launch the webplayer = no crash

Now I know the problem of my previous crashes. Thanks!

Thank you so much for trying out my web player + spending time to provide some feedback.

I’m not using any kind of browser communication, but in my originally setup I had some scripts that where communicating with Max/Msp, maybe I forgot to remove a reference to that somewhere - guess I’ll have to go through all my code, line by line :smile:

tolm - thank for the kind words. The sound were originally done with Max/Msp, but I will try to make it work in the web player also.

Thanks again for all your help and feedback

sorry tolm I totally missed your question, but yes both the stars and the nebulae are made with a particle system

Your content is producing the following null reference exception:

System.NullReferenceException: Object reference not set to an instance of an object
at Boo.Lang.Runtime.RuntimeServices.NormalizeArrayIndex (System.Array array, Int32 index) [0x00000]
at PlayerControl.Init (System.String pName) [0x00000]
at PlayerControl.Start () [0x00000]

You generally always need to fix Null reference exceptions. You can easily see those in the editor but in the web player you can also see them printed to the conole log or Library/Unity/Player.log

Hi Joachim and thanks for checking. My problem is that I don’t get the error you mention. Neither in the editor or in the console log.

I made some changes to my web player, based on the error posted by Joachim.
I think it is working now :slight_smile:

Had the same issue on FF3 OSX 10.4. FF3 had Piclens installed, disabled Piclens and no crash!

Sorry for bringing up an older topic, but this is the most relevant…

I am seeing a crash in FF 3.3.5 on OS X. The link below works with Safari, Vista FF 3.3.5, IE 8. I don’t see anything in the console log on the MAC except for when Firefox terminates. The Mac is a Mac Mini.

It acts as if it’s loading (to 100%), but locks up the browser, and I’m forced to kill the session. I don’t have any plugins / addons running either.

As an update, I moved the project over to the Mac and compiled. Still no luck. I also manually downloaded and installed the FF web plugin. No good there either.

Last Update

Got it working… I cleared out all the warning that I had. There were some references to depricated functions like, Random.RandomRange() and EulerAngles(). I cleared those out and a mistake in a if statement where I put a ; before the {. How the game functioned like normal I have no idea. But now it’s working in FF for OSX.

http://www.darkmessiah.com/stuff/binbombWeb.html