Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Rending problems on Lumin #263

Closed
StephenHodgson opened this issue Aug 6, 2019 · 3 comments
Closed

Rending problems on Lumin #263

StephenHodgson opened this issue Aug 6, 2019 · 3 comments
Assignees
Labels
Bug Something isn't working

Comments

@StephenHodgson
Copy link
Contributor

StephenHodgson commented Aug 6, 2019

XRTK - Mixed Reality Toolkit Bug Report

Describe the bug

Lumin no longer renders properly (only left eye) after the updates to the Mixed Reality Standard shader.

I'm also getting these errors when building:

Shader error in 'Mixed Reality Toolkit/Wireframe': variable 'o' used without having been completely initialized at line 119 (on gles3)
Compiling Vertex program with STEREO_INSTANCING_ON
Platform defines: UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_CUBEMAP_ARRAY UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_MOBILE UNITY_LIGHTMAP_DLDR_ENCODING

Shader error in 'Mixed Reality Toolkit/Wireframe': variable 'o' used without having been completely initialized at line 119 (on glcore)
Compiling Vertex program with STEREO_INSTANCING_ON
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_DLDR_ENCODING

To Reproduce

  1. Switch to lumin build target
  2. open build window
  3. Build
  4. See error

Expected behavior

Should render in both eyes

Actual behavior

Only renders in left eye

Screenshots

image

Your Setup (please complete the following information)

  • Unity Version 2019.1.12f1
  • XRTK Version 6e6ef36

Target Platform (please complete the following information)

  • Lumin (Magic Leap)
@StephenHodgson StephenHodgson added the Bug Something isn't working label Aug 6, 2019
@SimonDarksideJ
Copy link
Contributor

The first part does worry me greatly, as to how that could even happen.
Hoping Ronald is back now to comment on the second part.

Likely we'll need to rollback the shaders based on this feedback

@mo-spatial
Copy link

mo-spatial commented Dec 3, 2019

FYI if you guys want the fix for the new MRTK standard shader to render in both eyes on Lumin you only need to make the following modifications:

Screen Shot 2019-12-03 at 5 06 00 PM

@StephenHodgson
Copy link
Contributor Author

Thanks!

Really we ought to update to the universal render pipeline as soon as we can through tbh.

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

No branches or pull requests

3 participants