Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Soundguy · Dec 30, 2014 at 10:06 PM · uibuildcrashcrashes

Unity 4.6.1 UI Text causes crash on PC and web builds

Edit: I think i found the problem. The graphics.Aseet settings didn't include the UI font shaders. :(

When i build my game with a Unity UI text it crashes when the scene loads.

Here's a vanilla project that causes it to crash https://www.dropbox.com/s/s0c9rnjfs0zcxwg/UITExtCrash.zip?dl=0

here is the crash log

any ideas what causes it ? is there a workaround?

here is the web build for the crashing build https://build.cloud.unity3d.com/distro/install?id=bk-S_tXT_

 ========= OUTPUTING STACK TRACE ==================
 
 (0x00A84748) (MedievalMadness_0.01): (filename not available): Object::Transfer<StreamedBinaryWrite<0> > + 0xe8768
 (0x00C5E7E1) (MedievalMadness_0.01): (filename not available): Behaviour::Transfer<RemapPPtrTransfer> + 0x4b01
 (0x00C63565) (MedievalMadness_0.01): (filename not available): Behaviour::Transfer<RemapPPtrTransfer> + 0x9885
 (0x04554BA3) (Mono JIT code): (filename not available):  UnityEngine.UI.Text:get_defaultMaterial () + 0x23 (04554B80 04554BB4) [007F4E70 - Unity Root Domain] + 0x0
 (0x04554B71) (Mono JIT code): (filename not available):  UnityEngine.UI.Graphic:get_material () + 0x31 (04554B40 04554B7F) [007F4E70 - Unity Root Domain] + 0x0
 (0x0455489F) (Mono JIT code): (filename not available):  UnityEngine.UI.MaskableGraphic:get_material () + 0x87 (04554818 045548A9) [007F4E70 - Unity Root Domain] + 0x0
 (0x04554714) (Mono JIT code): (filename not available):  UnityEngine.UI.Graphic:get_materialForRendering () + 0x34 (045546E0 0455480C) [007F4E70 - Unity Root Domain] + 0x0
 (0x04554697) (Mono JIT code): (filename not available):  UnityEngine.UI.Graphic:UpdateMaterial () + 0x3f (04554658 045546CD) [007F4E70 - Unity Root Domain] + 0x0
 (0x04552425) (Mono JIT code): (filename not available):  UnityEngine.UI.Graphic:Rebuild (UnityEngine.UI.CanvasUpdate) + 0x45 (045523E0 04552432) [007F4E70 - Unity Root Domain] + 0x0
 (0x04552044) (Mono JIT code): (filename not available):  UnityEngine.UI.CanvasUpdateRegistry:PerformUpdate () + 0x2c4 (04551D80 04552122) [007F4E70 - Unity Root Domain] + 0x0
 (0x044F4B60) (Mono JIT code): (filename not available):  UnityEngine.Canvas:SendWillRenderCanvases () + 0x20 (044F4B40 044F4B65) [007F4E70 - Unity Root Domain] + 0x0
 (0x044A02FB) (Mono JIT code): (filename not available):  (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) + 0x3b (044A02C0 044A034C) [007F4E70 - Unity Root Domain] + 0x0
 (0x100F037C) (mono): (filename not available): mono_set_defaults + 0x22cb
 (0x1005D7C3) (mono): (filename not available): mono_runtime_invoke + 0x51
 (0x009B52A8) (MedievalMadness_0.01): (filename not available): Object::Transfer<StreamedBinaryWrite<0> > + 0x192c8
 (0x00A51C25) (MedievalMadness_0.01): (filename not available): Object::Transfer<StreamedBinaryWrite<0> > + 0xb5c45
 (0x00A51DAE) (MedievalMadness_0.01): (filename not available): Object::Transfer<StreamedBinaryWrite<0> > + 0xb5dce
 (0x00A51BA5) (MedievalMadness_0.01): (filename not available): Object::Transfer<StreamedBinaryWrite<0> > + 0xb5bc5
 (0x00C61A8C) (MedievalMadness_0.01): (filename not available): Behaviour::Transfer<RemapPPtrTransfer> + 0x7dac
 (0x00A1F2FF) (MedievalMadness_0.01): (filename not available): Object::Transfer<StreamedBinaryWrite<0> > + 0x8331f
 (0x00A9608B) (MedievalMadness_0.01): (filename not available): Object::Transfer<StreamedBinaryWrite<0> > + 0xfa0ab
 (0x00A97B75) (MedievalMadness_0.01): (filename not available): Object::Transfer<StreamedBinaryWrite<0> > + 0xfbb95
 (0x00D0CA78) (MedievalMadness_0.01): (filename not available): Behaviour::Transfer<RemapPPtrTransfer> + 0xb2d98
 (0x00D41970) (MedievalMadness_0.01): (filename not available): Behaviour::Transfer<RemapPPtrTransfer> + 0xe7c90
 (0x75CA338A) (kernel32): (filename not available): BaseThreadInitThunk + 0x12
 (0x77A09F72) (ntdll): (filename not available): RtlInitializeExceptionChain + 0x63
 (0x77A09F45) (ntdll): (filename not available): RtlInitializeExceptionChain + 0x36
 
 ========== END OF STACKTRACE ===========


Comment
Add comment · Show 8
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image EggQuiz857 · Dec 30, 2014 at 10:08 PM 0
Share

It sounds like a unity problem. I don't know how you could make it work. Are you on unity 4.6.0 or 4.6.1?

avatar image Soundguy · Dec 30, 2014 at 10:09 PM 0
Share

4.6.1f1 posted a bug report (no idea if these are handled or not) but i would like to know if there is some workaround.

avatar image EggQuiz857 Soundguy · Dec 30, 2014 at 10:12 PM 0
Share

I don't have 4.6.1 so maybe it is a bug in that unity build

avatar image EggQuiz857 · Dec 30, 2014 at 10:09 PM 0
Share

Looks like a file problem. it says filename not avalable

avatar image Soundguy · Dec 30, 2014 at 10:11 PM 0
Share

that seems irrelevant - i assume it's the filename of the code that unity was complied it.

avatar image SimonDarksideJ · Jan 01, 2015 at 10:15 AM 0
Share

Couple of questions,

  1. if you disable the Text does it stop it crashing?

  2. If you disable the Canvas does it stop crashing?

  3. If you create a new scene as your 1st scene with text on and then transition to the problem scene does it still crash.

Without further details of your scene setup it's a little hard to diagnose

avatar image Soundguy SimonDarksideJ · Jan 04, 2015 at 08:29 PM 0
Share
  1. yes.

  2. yes

  3. will check.

avatar image Soundguy SimonDarksideJ · Jan 06, 2015 at 02:15 PM 0
Share
  1. still crashes.

Here's a vanilla project that causes it to crash https://www.dropbox.com/s/s0c9rnjfs0zcxwg/UITExtCrash.zip?dl=0

Just as a scene it was or, when i also imported my original project's settings is when it started crashing. maybe it's something with the quality settings.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by kontonaspam8 · Jan 19, 2015 at 09:11 AM

As a workaround you can create a new material, set its shader to UI/Default font and change UI.Text Text/Material from none to the one you've created

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Soundguy · Jan 20, 2015 at 02:55 AM 0
Share

those shaders weren't included - that was the problem. they come default with 4.6 but a plugin i imported ovverrode the grapics settings . once these were back - the problem was solved.

avatar image
0

Answer by David-Berger · May 13, 2015 at 02:16 PM

This could have been a problem in the beta with fonts. If you try it again now it should be fixed.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by AntonyBaasan · May 13, 2015 at 02:53 PM

Had same problem. Moved to 5 and it worked OK.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

29 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

Game no reopen before go to Desktop or something (FullScreen) 0 Answers

When using visual studio, and saving code outside of unity, it wrecks my projects. Why and how can I fix my old pojects? 2 Answers

UI images and text tearing and deforming 1 Answer

Unity crashing constantly 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges