Search Unity

Keep getting a Fatal Error : null after loading swf file in my browser

Discussion in 'Flash' started by zine92, Dec 23, 2011.

  1. zine92

    zine92

    Joined:
    Nov 13, 2010
    Posts:
    1,347
    Currently this only happens when i try to run it in my browser. $Unity cubes_benchmark.swf - Mozilla Firefox_2011-12-23_22-16-57.png

    Browser: Mozilla Firefox beta 9 ,32 bit
    Flash Player: 11.2.202.160

    But i can run it in debug player with no problem.
     
  2. luisanton

    luisanton

    Joined:
    Aug 25, 2009
    Posts:
    325
    I had the same problem: don't load the .swf directly, open the .html file that is also created! :D
     
  3. zine92

    zine92

    Joined:
    Nov 13, 2010
    Posts:
    1,347
    Well. I opened the link directly. It was posted on the web, and i clicked it. I tried opening with the html. Same error. Might wanna try the link yourself.

    I got the error from clicking this link.
    http://unitzeroone.com/labs/physbench/
     
  4. Wozik

    Wozik

    Joined:
    Apr 10, 2009
    Posts:
    662
    Folks, there's a faq esction about it. It's essential to debug content on the target platform, right?
     
  5. zine92

    zine92

    Joined:
    Nov 13, 2010
    Posts:
    1,347
    Thanks. That kinda bypass the null error. Having a new error now. Oh well. I am guessing might be the version of my currently installed flash player. $Unity cubes_benchmark.swf - Mozilla Firefox_2011-12-23_22-40-45.png
     
  6. Wozik

    Wozik

    Joined:
    Apr 10, 2009
    Posts:
    662
    please install a non-beta version of Flash Player. 11.1.x.x should be fine
     
  7. Karyudo

    Karyudo

    Joined:
    May 4, 2011
    Posts:
    18
    I posted a thread about this already without notice but I'm getting this with one project as well (not with another however). So I'm guessing it's something in the project.

    This is with 11,1,102,55
     
    Last edited: Dec 23, 2011
  8. RalphH

    RalphH

    Administrator

    Joined:
    Dec 22, 2011
    Posts:
    592
  9. Karyudo

    Karyudo

    Joined:
    May 4, 2011
    Posts:
    18
    Ralph, already set up a debugging version of Flash and posted this but:
    Code (csharp):
    1. Player: init engine
    2.  
    3. MolehillGfxDevice:DirectX9 (Direct blitting)
    4. m_ProcessingOperation == NULL
    5. LogCallStackError
    6.     at com.unity::UnityNative$/Ext_Flash_LogCallstack()
    7.     at com.unity::UnityNative$/_Z17DebugStringToFilePKciS0_iiii()
    8.     at com.unity::UnityNative$/_ZN14PreloadManager26UpdatePreloadingSingleStepEv()
    9.     at com.unity::UnityNative$/NativeExt_LoadFirstLevel()
    10.     at com.unity::UnityContentInternal/loadFirstLevel()
    11.     at com.unity::UnityContent/onFrameInitStep()
    12. m_ProcessingOperation == NULL
    13.  
    14. (Filename: C:/BuildAgent/work/b0bcff80449a48aa/Runtime/Misc/PreloadManager.cpp Line: 300)
    In the browser it looks like what zine's images show. Does it across IE and Firefox and one of my other projects works (plays anyway). So I'm guessing it's related to the project though it doesn't show any errors on building it...