c# - Unity 4.6p1 UI Crash in any Build -


i replaced gui had in (4.5) new ui system in 4.6. i'm using 4.6p1 unity. game runs in unity editor fine, once has been built crashes on loadup. i've removed ui elements , builds , runs, game has no ui.

in unity, console shows 2 errors on build:

    asset marked hideflags.dontsave included in build: asset: 'library/unity default resources' (you referencing internal unity data in build.) unityeditor.buildplayerwindow:buildplayerandrun() 

and

    building - failed write file: temp/stagingarea/data/resources/unity_builtin_extra unityeditor.buildplayerwindow:buildplayerandrun() 

when crash log when run game, here stack trace:

(0x000000013f8dec91) c:\buildagent\work\d63dfc6385190b60\runtime\shaders\material.cpp (280 + 0x0): unity::material::creatematerial + 0x41 (0x000000000478627c) (mono jit code): (filename not available):  unityengine.ui.text:get_defaultmaterial () + 0x3c (0000000004786240 0000000004786295) [0000000003cd4d48 - unity root domain] + 0x0 (0x0000000004786201) (mono jit code): (filename not available):  unityengine.ui.graphic:get_material () + 0x41 (00000000047861c0 0000000004786213) [0000000003cd4d48 - unity root domain] + 0x0 (0x0000000004785d8c) (mono jit code): (filename not available):  unityengine.ui.maskablegraphic:get_material () + 0xec (0000000004785ca0 0000000004785d98) [0000000003cd4d48 - unity root domain] + 0x0 (0x0000000004785b51) (mono jit code): (filename not available):  unityengine.ui.graphic:get_materialforrendering () + 0x61 (0000000004785af0 0000000004785c72) [0000000003cd4d48 - unity root domain] + 0x0 (0x0000000004785a77) (mono jit code): (filename not available):  unityengine.ui.graphic:updatematerial () + 0x57 (0000000004785a20 0000000004785ac2) [0000000003cd4d48 - unity root domain] + 0x0 (0x0000000004781da8) (mono jit code): (filename not available):  unityengine.ui.graphic:rebuild (unityengine.ui.canvasupdate) + 0x58 (0000000004781d50 0000000004781db6) [0000000003cd4d48 - unity root domain] + 0x0 (0x000000000478171d) (mono jit code): (filename not available):  unityengine.ui.canvasupdateregistry:performupdate () + 0x46d (00000000047812b0 00000000047818b2) [0000000003cd4d48 - unity root domain] + 0x0 (0x0000000004781276) (mono jit code): (filename not available):  unityengine.canvas:sendwillrendercanvases () + 0x26 (0000000004781250 000000000478127c) [0000000003cd4d48 - unity root domain] + 0x0 (0x0000000004730543) (mono jit code): (filename not available):  (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) + 0x63 (00000000047304e0 00000000047305b2) [0000000003cd4d48 - unity root domain] + 0x0 (0x000007fee01d3af2) (mono): (filename not available): mono_set_defaults + 0x2b9e (0x0000000003ddb0b8) ((module-name not available)): (filename not available): (function-name not available) + 0x0 (0x00000000ffffffff) ((module-name not available)): (filename not available): (function-name not available) + 0x0 (0x0000000003cd4d48) ((module-name not available)): (filename not available): (function-name not available) + 0x0 

so know new ui causing crash, have no clue how fix.

i using unityengine.ui; in scripts access ui text , change it. ie scoretext.text = "score: " + score;

i disabled code in scripts , access unityengine.ui; did not work either. ideas on how fix this?

so found japanese site , solution fixed me, don't use unity fonts, arial works fine else doesn't work (lucida granda). hope helps.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -