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 /
avatar image
1
Question by shawnzhang · Jan 26, 2016 at 12:27 PM · iphonexcode

OpenGLES error 0x0502 in iOS

Hi, I am developing an iOS App using XCode 7.1 and Unity5.2.1f, I start Unity from my native iOS app, and it worked well, but in show some a lot of errors: OpenGLES error 0x0502 in xxxx/Classes/Unity/GlesHelper.mm :339. I know noting about this error, how can I deal with it? My English is poor, I wish I had taken the point.

Comment
Add comment · Show 7
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 shawnzhang · Jan 26, 2016 at 09:17 AM 0
Share

when built Unity project, the Graphics API was set OpenGLES2

avatar image marcusz · Feb 11, 2016 at 11:44 AM 0
Share

I have this exact problem on iPhone 5! When this happens, a graphics effect I do with a LineRender disappears too. Related?

I have discovered that if I disable a spotlight in the scene everything works fine on iPhone 5.

The same app works fine on iPad $$anonymous$$i2 Retina. No error messages, LineRenderer works fine.

Have you solve the problem?

Unity 5.3.2.f1 OS X. Xcode Version 7.2.1.

@shawnzhang

avatar image shawnzhang marcusz · Feb 24, 2016 at 03:01 AM 0
Share

Thanks for your comment, I have not found the solution yet./(ㄒoㄒ)/~~

avatar image RakshithAnand · Feb 24, 2016 at 11:21 AM 0
Share

Im also getting this iPhone 5 for some of the textures! no clue y. Will report if i find a solution

avatar image ForIRIS · Apr 05, 2016 at 05:33 AM 0
Share

iPhone5 always show OpenGLES error 0x0502 message. (Graphics API was OpenGLES2, and runtime api result is OpenGLES2)

avatar image RakshithAnand · Apr 05, 2016 at 05:36 AM 0
Share

I realised that, this error was caused by using mobile/vertex lit shader. I changed to mobile/diffuse and it is all fine

Let me know if this resolves your issue

avatar image ForIRIS RakshithAnand · Apr 06, 2016 at 05:26 AM 0
Share

Same. I changed to $$anonymous$$obile/Diffuse, Background and UI/Default etc... OpenGL error 0x0502 message call. If change glTexImage2D to glTexSubImage2D. OpenGL error 0x0501.

0 Replies

· Add your reply
  • Sort: 

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

7 People are following this question.

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

Related Questions

My app file size doubles that of what the console says it should... 1 Answer

Mix native Objective-C code and Unity3d 0 Answers

xcode build fail - Mach-o linker error 3 Answers

AWS in iOS not working 2 Answers

How to solve ITMS-90809: Deprecated API Usage? 0 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