-
-
Notifications
You must be signed in to change notification settings - Fork 34
Wireframe shader causes error on Android player build #189
Comments
Happens only if target is Android and XR Settings enabled |
Strange cause this is pretty much lifted from Unity's built in wire frame shader (which I thought was cross platform) |
Ah forgot About this one. I wasn't able to reproduce it anymore. Probably some hickups Unity had. Closing it. |
The issue is real (unlike the cake which is a lie) |
I did see Cameron did some updates to the Standard shader to include Wireframe support. Maybe we could do a refresh from the MRTK for the standard shader and deprecate this one. According to Ronald at MR dev summit, it's because there is a property that Unity does not expose for the Android platform and it's a known issue. |
We should take a look at the updated shaders. Now that XRTK almost has Oculus Quest support it's important people are able to build to Android without having to delete a shader. |
Quest Support is now live in Dev, so we really should look for a way to resolve this issue. One snag is that (apparently) the Quest does not have geom fragment shader support, which is needed? for wireframe. Supposedly this version of the MRTK standard shader does work? |
Fix the shader |
I will look to porting the updated MRTK standard shader which supposedly has wireframe support then we can remove the non-functioning one |
The latest code is pretty much the port from mrtk |
Will double-check, if so we only need test that the wireframe logic is working. Will pull up a test scene |
Resolved Build issue through PR #254. This resolves the build issue, however, the shader causes the screen to go black on Android, likely due to incompatibility. |
* Update Wireframe Shader to new MRTK standard Resolves #189 * Reverted Property names back to original names * Updated shader based on comments, removed superfluous white spaces
* Update Wireframe Shader to new MRTK standard Resolves #189 * Reverted Property names back to original names * Updated shader based on comments, removed superfluous white spaces
XRTK - Mixed Reality Toolkit Bug Report
Describe the bug
When targeting the Android platform and XR Setting is enabled building the Player will fail because of the
Mixed Reality Toolkit/Wireframe
shader.To Reproduce
Expected behavior
The Android Player can be built.
Actual behavior
Build Fails.
Your Setup (please complete the following information)
Target Platform (please complete the following information)
The text was updated successfully, but these errors were encountered: