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

The UIEffectCapturedImage is upside down with 'ScreenSpace - Overlay' mode #127

Closed
SquareLi opened this issue Sep 14, 2018 · 10 comments
Closed
Assignees
Labels
Milestone

Comments

@SquareLi
Copy link

SquareLi commented Sep 14, 2018

It's working fine on Android and unity Editor, the issue only exists on ios.

Unity 2018.2.5f1
XCode9
iOS 11.4.1

@mob-sakai mob-sakai added the bug label Sep 14, 2018
@mob-sakai mob-sakai self-assigned this Sep 14, 2018
@mob-sakai
Copy link
Owner

Hi @SquareLi

Oh, sorry.
I will fix it later, but I cannot test on ios now...

@mob-sakai
Copy link
Owner

Is Canvas Render Mode ScreenSpace - Overlay?

@mob-sakai
Copy link
Owner

mob-sakai commented Sep 15, 2018

sep-15-2018 09-01-14

Reproduced with : 2018.2.x Editor(Mac)
Not reproduced with : 5.5.x Editor(Mac), 2017.x Editor(Mac), 2018.1.x Editor(Mac)

[Edited]
After repeating the test, the issue is no longer reproduced... why?

@mob-sakai
Copy link
Owner

I'm ready for test on iOS!

iPhone6s
XCode9.4
iOS 11.4.1

Reproduced with : 5.5.x, 2017.1.x, 2018.1.x, 2018.2.x

@mob-sakai mob-sakai added this to the v2.8.2 milestone Sep 16, 2018
@SquareLi
Copy link
Author

Sorry I didn't have time to check this in the past few days.
Regarding the Canvas, i believe both world space and overylay have the problem.
I dont see this issue on Editor on Mac. It only happens on ios devices for me.

@mob-sakai
Copy link
Owner

mob-sakai commented Sep 17, 2018

Reproduced with : 5.5.x Editor & Runtime(Windows/DX11), 5.5.x Runtime(Mac/OpenGL4.1)

@mob-sakai mob-sakai changed the title The UIEffectCapturedImage is upside down on iOS. The UIEffectCapturedImage is upside down with 'ScreenSpace - Overlay' mode Sep 17, 2018
@SquareLi
Copy link
Author

Hello!
The issue in overlay mode is fixed, but the ScreenSpace-Camera mode still has the issue.

@mob-sakai mob-sakai reopened this Sep 17, 2018
@SquareLi
Copy link
Author

I added a feature that the UIEffectCapturedImage can use any camera instead of just main camera. Not sure if that's the reason, but your fix seems to only work when the canvas of the component is overylay.

@mob-sakai
Copy link
Owner

It did not reproduce in demo scene...
I test in develop branch, build with 2018.2.5f1/XCode9.4, run on iPhone6s/iOS 11.4.1.
Auto Graphics API is enable.
image

Do you have a reproducible project?

@SquareLi
Copy link
Author

I will try to make a test project tomorrow.
It's really odd that it's upside down on some scenes, and totally fine on others.
Thanks for looking into it!

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

No branches or pull requests

2 participants