Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by Uktol · Jul 04, 2016 at 02:54 PM · scripting problemmaterialcrashxcodedebug

EXC_BAD_ACCESS on CreateMaterial()

I've just built my iOS app, but one I start building the app just crashes and gives me a EXC_BAD_ACCESS code. It's within the CreateMaterial function, but other than that i've not received much more info.

Here's the breakpoint:

 0x100912158 <+36>:  orr    w0, wzr, #0x4
     0x10091215c <+40>:  bl     0x10091371c               ; ::CreateObjectFromCode<Unity::Material>() at BaseObject.h:1178
     0x100912160 <+44>:  mov    x21, x0
     0x100912164 <+48>:  ldr    x8, [x21]
     0x100912168 <+52>:  ldr    x8, [x8, #88]
     0x10091216c <+56>:  mov    x1, x19
     0x100912170 <+60>:  blr    x8
     0x100912174 <+64>:  mov    x19, x21
     0x100912178 <+68>:  ldr    x8, [x19], #56
     0x10091217c <+72>:  ldr    x22, [x8, #72]
 ***->  0x100912180 <+76>:  ldr    x8, [x20]  BREAKPOINT HERE***
     0x100912184 <+80>:  ldr    x8, [x8, #64]
     0x100912188 <+84>:  mov    x0, x20
     0x10091218c <+88>:  blr    x8
     0x100912190 <+92>:  mov    x1, x0
     0x100912194 <+96>:  mov    x0, x21
 


So as you can see it's not really clear to me what the exact problem is. The editor itself isn't giving me info and the game just runs fine on there.

Anyone else with the same problem? Or someone who knows how to fix this?

Comment
Add comment · Show 1
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 Nomibuilder · Aug 25, 2016 at 04:57 AM 0
Share

Have you found the solution yet? Because I am facing the same problem here..

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Nomibuilder · Aug 25, 2016 at 06:36 AM

You Must Have Some texture or Material which are not supported in Iphone. Specially .dds texture format. I had the same issue and After checking the Unity Editor Console, I got the error. Ans solved it.

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 assert1234 · May 02, 2018 at 09:19 AM

Delete resource dds format

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

78 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 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 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

Material.SetFloat not updating. 0 Answers

While loop won't work, it freezes Unity 1 Answer

How to Change Albedo in Main Maps By Script 1 Answer

How to stop infinite loop in Unity? 1 Answer

Program Crash 1 Answer


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