Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS OpenGLES2 is deprecated, but the readme tells me to use it #29

Closed
stranger-games opened this issue Jul 19, 2018 · 5 comments
Closed

Comments

@stranger-games
Copy link

Hi,

In the readme it says:
"Other Settings find the Rendering part, uncheck the Auto Graphics API and select only OpenGLES2"

But the API is deprecated for iOS. Is there a work around? Would it work with Meta?

Regards,
Abdalla

@cybergen
Copy link

I use it with Metal, as I'm building an AR app. It seems fine for my use cases.

@f111fei f111fei closed this as completed Dec 13, 2018
@f111fei
Copy link
Owner

f111fei commented Dec 24, 2018

If you use Metal, You may encounter the following problem.
https://stackoverflow.com/questions/36554891/unity-crash-on-os-x-unitygfxdeviceworker-thread-crashed.

You alse can try Set Auto Graphics API to first: OpenGLES2, second: Metal

@mikeyamato
Copy link

@f111fei do you mean OpenGLCore as primary and Metal as secondary since OpenGLES2 is not an option?

@JanOwiesniak
Copy link

JanOwiesniak commented Sep 25, 2019

I need to switch to Metal because of another 3rd party dependency i use that no longer support OpenGL.

I use it with Metal, as I'm building an AR app. It seems fine for my use cases.

I'm using this library together with Vuforia to accomplish an AR app.
It sounds promising to me that @cybergen has a very similar use case which is working on Metal.

Until now i had set Unity Graphics APIs to:

  1. OpenGLES2
  2. Metal

Which works fine because the device probably used OpenGLES2 all the time.

When switching Unity Graphics APIs to (removed OpenGL from options):

  1. Metal

Some things are not working anymore (i know that the README suggest to use OpenGL but this is deprecated and therefore really no long term solution).

Back to my problem:

The app still starts but Vuforia seems to have problem with the camera view video background.
I can still detect image targets but the camera background is all black now.

Does anyone experienced a similar issue before?
Maybe even solved it or has an explanation about what is going on here?

This should not be a Metal issue with Vuforia either:

Screenshot 2019-09-25 at 17 05 25

@JanOwiesniak
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants