xr-unity icon indicating copy to clipboard operation
xr-unity copied to clipboard

Light Weight Render Pipeline issue

Open CharStiles opened this issue 5 years ago • 1 comments

I wanted to inquire about 8th wall compatibility with Unity Light Weight Render Pipeline & VFX shader graph.

This issue offered no solution #59 so I wanted to open up a new issue

It seems like Unity has native support in ARFoundation for LWRP, as told by this unofficial workaround (which I tried and ended with an error saying that LWRP has no ExecuteCommandBuffersPass to override Execute, alas I digress). I was wondering tips on how to get 8th wall to work with LWRP. I can work on a fix and send a PR.

Right now the behavior is that I build it then I see my object as if the shadergraph shader worked, but the background is not from my camera feed, its a solid color. So I can walk around the object like all the AR functionality is there, just the camera feed isnt the background.

The full log is:

2019-06-18 11:09:26.690129-0400 cmuems[6340:446338] [DYMTLInitPlatform] platform initialization successful 2019-06-18 11:09:26.742921-0400 cmuems[6340:446174] Built from '2018.3/release' branch, Version '2018.3.9f1 (947e1ea5aa8d)', Build type 'Release', Scripting Backend 'il2cpp' 2019-06-18 11:09:26.745582-0400 cmuems[6340:446174] -> registered mono modules 0x1036afbf0 -> applicationDidFinishLaunching() 2019-06-18 11:09:26.882540-0400 cmuems[6340:446174] Metal GPU Frame Capture Enabled 2019-06-18 11:09:26.882906-0400 cmuems[6340:446174] Metal API Validation Disabled 2019-06-18 11:09:27.054144-0400 cmuems[6340:446174] [Warning] Trying to set delaysTouchesBegan to NO on a system gate gesture recognizer - this is unsupported and will have undesired side effects -> applicationDidBecomeActive() Initializing Metal device caps: Apple A11 GPU Initialize engine version: 2018.3.9f1 (947e1ea5aa8d) WARNING: Shader Unsupported: 'Unlit/ARCoreCameraShader' - Pass '' has no vertex shader WARNING: Shader Unsupported: 'Unlit/ARCoreTextureShader' - Pass '' has no vertex shader WARNING: Shader Unsupported: 'Shader Graphs/blobShaderGraph' - Pass 'Meta' has no vertex shader UnloadTime: 0.892708 ms OnGUI function detected on MonoBehaviour, but not called, because IMGUI module is stripped. 2019-06-18 11:09:30.145648-0400 cmuems[6340:446174] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2019-06-18 11:09:30.146419-0400 cmuems[6340:446174] [MC] Reading from public effective user settings. Setting up 1 worker threads for Enlighten. Thread -> id: 16f6ef000 -> priority: 1 -> applicationWillResignActive() -> applicationDidBecomeActive()

Using Unity 2018.3.9f1, software is Mojave 10.14.3 (18D42) running on iphone 8+ iOS 12

CharStiles avatar Jun 18 '19 15:06 CharStiles

Can confirm mobile camera background not working with LWRP or URP in 2019.3

divljikunic avatar Apr 01 '20 15:04 divljikunic