• 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
Question by jtjenkins · Oct 19, 2014 at 08:00 PM · iosopengl

iOS: OpenGLES error 0x0500 with Camera Texture as Background

Hi guys,

I'm working on an AR application, and I've set up a second camera attached to the camera that sets the background of my application to the background of the view. This has been working for all my iPhones and iPads (up to the iPhone 5) up until the latest versions (iPhone 6). Now, with the new chipset, all Unity content renders and runs properly, but even though the camera permissions are requested, the texture shows up as blank.

I have an older iPad with iOS 8, and it runs perfectly, so I don't think it's related to the new release.

I believe this is related to the 64-bit chipset, since that's the only major change I can think of that might break the compatibility.

The debugger gives me this error over and over when I run my app now:

 OpenGLES error 0x0500 in /<path to>/Classes/Unity/GlesHelper.mm:369

Has anyone run into a similar issue, and know how to resolve it? Since it's an OpenGL error, I'm not even sure what it means.

Comment
ljdp
azurewai

People who like this

2 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 ForIRIS · Apr 05, 2016 at 01:02 AM 0
Share

I have same issue. iPhone5S ( A7 or later ) do not show that message. But, my project minimum target device is iPhone4s and iOS 8.0

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by hrlarsen · Oct 27, 2014 at 10:15 AM

I am encountering the same issue

Found that the problem is that WebCamTexture does seem to cause the trouble with OpenGL ES 3.0. Go to PlayerSettings and set Graphics Level to Force OpenGL ES 2.0

Comment
invadererik

People who like this

1 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 ljdp · Mar 23, 2015 at 12:34 PM 0
Share

I've got the same problem. Forcing OpenGL ES 2.0 did not fix it. I have a native plugin that is using the camera and then binding the texture in the OpenGL context so that unity can use it. I have a separate plugin on OS X that works fine but I get the 0x0500 error on iOS.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

OpenGL error due to RenderTexture size set too high. Any way to change size during runtime? 0 Answers

GL ES1 vs ES2 (for iOS) 1 Answer

CPU Usage Not Constant on iOS 11.2 (Metal) in Profiler and Xcode FPS CPU time != Profiler 1 Answer

Issue with glDrawArrays in plugin 2 Answers

Graphics Emulation - OpenGL 3 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