This is a very common mistake people make, be sure to check your per-platform quality settings (the green ticked box is the default for your platform.
Thanks for the suggestion @ROBYER1_1 . I have tried changing quality settings to the High, and Very High as default for mobile, but this hasn’t made a difference unfortunately. Also tried changing the shadow resolution settings as well but that didn’t work either.
UPDATE: I created a clean LWRP project and imported the ARFoundation Sample with LWRP Support. Using the sample scene I managed resolve this. Thanks for your help.
Hi there,
We have this happening on our project and we can´t understand the reason.
This is our scriptableRP file
We are not scaling the model, we are only scaling the ARSessionOrigin as taught in other topics.
This is not related to the camera clipping plane, since we can still see the building. It looks very similar to vanishing realtime shadows, however part of the texture disappear as well and we have changed the shadow distance multiple times.
Has anyone been using LWRP and found this issue as well?
This is a VERY big model, maybe that´s the reason? Is there a magic number we can increase to stop this from happening?
UPDATE
This the SampleLWRPScene from ARFoundation now supports LWRP 4.8.0-preview
To replicate the error we set ARSessionOrigin scale to 667,667,667 and the Cube scale to 600,50,300 (to replicate the size of or building). Everything is baked, we can increase shadow distance and nothing happens
UPDATE2
To fix the issue, we just decreased the model size by 10 so this way the smaller size was closer to the camera, since we didn´t need to scale ARSessionOrigin that much.
Thank you in advance guys
I’ve had the same experience with my model of 400meter by 350meter. Scaling the model is not an option as I will also have particles in there.
I couldnt solve it so I had to switch back to standard pipeline
Drats, was hoping that was a quick fix - I’m keeping an eye on the SRP stuff as I’d actually like to use it on a project sometime soon when it’s as robust as the standard pipeline
FWIW we’re having what looks like this same problem as well. Wildly guessing, but seems like the geometry somehow gets inverted or otherwise incorrectly projected for shadow generation on IOS - haven’t tried android. I think we’re also seeing a variant of the problem in the vanilla sample off the git. Curious to know if anyone else has run into this.
Engine vs IOS:
Test scene:
arfoundation + lwr is making my camera quality EXTREMELY grainy. In vuforia with lwr it looks perfect, but once i swap it with arfoundation, it looks terrible.
The 3d models look fine, its just the phone camera
Any advice? My quality settings are set to max
arfoundation and LWR seems to have a very grainy camera feed. I was thinking it was because i didnt have the cameraoptions script attached to anything, so there was no autofocus happening.
When I add, the camera feed goes black. Most likely due to the LWR support using a special ar camera background texture to make this possible and autofocus not playing nice with it.
How do we get shadows on transparent planes (shadow matte) to work with LWRP and AR Foundation?
If Im not mistaken this feature has not yet been implemented in the framework, but someone please correct me if I am wrong. Have a look at this discussion and proposed solution:
https://discussions.unity.com/t/580609
Great news! Does this automatically mean support for latest ARCore and ARKit?
The reason I ask is that in the Feature comparison and roadmap chart,
while LWRP 3.30 is indicated as being supported in ARFoundation, both ARCore and ARKit are listed as ‘in development’.
Additionally, what would be really useful in troubleshooting is a master list with all the project level changes and differences between a ‘regular’ ARFoundation project using nonscriptable Render pipeline with Standard Shader and the newer LWRP.
Hi @jimmya , thanks so much for the LWRP AR Foundation sample. I’ve been wanting to add LWRP to my AR project for a while now, so I’m pretty stoked.
I am running into a bug with it though and I’m not sure how to fix it. I’m curious if anyone else in the forums has run into this bug as well. I’ve attached a simple unity project that demonstrates the bug (arfoundation-lwrp-multiple-cameras.7z).
In my project I have a camera that’s only job is to render the UI. I set the Culling Mask to UI and the Clear Flags to Depth Only.
When I open the SimpleAR scene, remove the LWRP Asset from the Graphics settings and then build and run on my device, everything works great. I can see my text at the top of the screen and see the camera feed.
But, When I open the SampleLWRPScene scene, hook up the LWRP Asset file in Graphics settings and make a build. When I run it on my android device I do see my text, but instead of seeing the camera feed I only get a blue screen (the same color as my UI camera’s clearing color).
Anyone have any ideas of the best way to fix this?
Thanks in advance,
Brian
4374517–396670–arfoundation-lwrp-multiple-cameras.7z (867 KB)
I really hope there is an update coming soon for latest unity, lwrp and arkit/core.
Arkit tracking and lwrp works in latest 2019 but I also don’t get the camera feed and don’t know how to fix. Although for people understanding the renderpipline it shouldn’t be to hard to adapt the lwrp support branch to the latest lwrp version?!
@jimmya is there a timeline for non-preview Lightweight RP integration the AR Foundation?
just simple cant create custom render assets!
Assets>Create>XR>LWRPBackgroundRendererAsse does not exist
just for the record, Assets>Create does exist! the rest are not
Anyone have a working update of this in the new arfound & LWR in 2019?: https://github.com/Unity-Technologies/arfoundation-samples/tree/lwrp_support/Assets/LWRPSupport
I’m looking for help with this as well
Today i migrate my project from 2018.3 to 2019.1 and LWRP with Shadergraph packages updated to 5.7.2 version automatically, and scripts from https://github.com/Unity-Technologies/arfoundation-samples/tree/lwrp_support/Assets/LWRPSupport no longer supported)
i can’t get anything to work on the UNity 2019.1, Ar samples just loads black screen when deployed to Phone. Has anyone here made it work with the latest LWRP?