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

Inter-lens distance not working with iPhone 16 #486

Open
Somshekardsi opened this issue Dec 12, 2024 · 8 comments
Open

Inter-lens distance not working with iPhone 16 #486

Somshekardsi opened this issue Dec 12, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@Somshekardsi
Copy link

The inter-lens distance setting in Cardboard XR does not function on iPhone 16, preventing proper adjustment of lens separation for VR.

Environment:

  • Device: iPhone 16
  • Unity Version: Unity 6(6000.0.28f1)
  • Cardboard XR Version: 1.27.0

Steps to Reproduce:

  1. Use the 'Api.SaveDeviceParams' method to set inter-lens distance.
  2. Test on iPhone 16.
  3. Observe that the inter-lens distance is not applied.

Expected Behavior:
The inter-lens distance should adjust properly for iPhone 16.

Actual Behavior:
The inter-lens distance setting has no effect on iPhone 16.

Additional Context:
The issue does not occur on previous iPhone models.

@Somshekardsi Somshekardsi added the bug Something isn't working label Dec 12, 2024
@arilow
Copy link

arilow commented Dec 12, 2024

Thanks @Somshekardsi for reaching out to us!

In order to allow us to reproduce this issue, could you please provide:

  • URI you are passing to Api.SaveDeviceParams().
  • A screenshot where the bug can be depicted.
  • Is this reproducible with the Cardboard sample?
  • Is this reproducible in other Unity versions?

Thanks!

@Somshekardsi
Copy link
Author

Thanks @Somshekardsi for reaching out to us!

In order to allow us to reproduce this issue, could you please provide:

  • URI you are passing to Api.SaveDeviceParams().
  • A screenshot where the bug can be depicted.
  • Is this reproducible with the Cardboard sample?
  • Is this reproducible in other Unity versions?

Thanks!

Thank you for your response!

URI : http://google.com/cardboard/cfg?p=CgZHb29nbGUSEkNhcmRib2FyZCBJL08gMjAxNR0rGBU9JSlcDz0qEAAASEIAAEhCAABIQgAASEJYATUpXA89OggeZnc-Ej6aPlAAYAA
Regarding the second point, could you clarify what kind of screenshot you need? Should it depict the behavior in the app or an error message?
Yes, this issue is reproducible with the Cardboard sample.
Yes, it is also reproducible in other Unity versions.
Let me know if you need additional details!

@arilow
Copy link

arilow commented Dec 13, 2024

Hi! I was referring to a screenshot of the device showing the behavior in the app. But if there are any logs that you think should be useful for this, please share them too.

Thanks!

@Somshekardsi
Copy link
Author

Somshekardsi commented Dec 16, 2024

  1. Api.SaveDeviceParams

Hi! There are no errors after running 'Api.SaveDeviceParams', but the parameters are not applied on iPhone 16. The same code works correctly on previous iPhone versions.

Thanks!

@ShashankMishra777
Copy link

Hi! I noticed this bug on iPhone 16 pro max.

It was working fine on iPhone 15 and lower versions.

When I upgraded to sdk version 1.2.7, now it is working on my iPhone 16 pro max.

But when running the same version on iPhone 11 (iOS 17), and I go from scene 0 to scene 1 (cardboard scene), it throws me back to scene 0.

@rjcausarano
Copy link

Hello @ShashankMishra777 and thanks for the update!

I've read your update and it sounds to me like the original inter-lens distance issue that was reported to not work on the iPhone 16 is now solved. Can you please confirm that the issue is solved?

Thanks.

@ShashankMishra777
Copy link

ShashankMishra777 commented Jan 20, 2025

Hello @rjcausarano

Yes the issue is solved on iPhone 16 pro max.

But when running the same version on iPhone 11 (iOS 17), and I go from scene 0 to scene 1 (cardboard scene), it throws me back to scene 0.
Can open another thread for this.
I wanted to know if anyone else is facing the issue with lower versions with sdk version 1.2.7

@rjcausarano
Copy link

@ShashankMishra777 Yes, could you please open another issue? So that we can properly address it separately.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants