Are Unity Subscenes and LWRP Compatible ?

Hello Everyone,
im making a game with 3 other Friends, im working as a developer and im trying to find time as much as i can to develop this game. but currently im blocked in a unity Bug (Weird Bug) from 3 days now, i tried everything but i think this one need to be fixed by Unity.

  • im not using probuilder.
  • im not referencing any Mesh within my scene.
  • this bug is present in all Unity Versions i tried : Unity 2019.1.10f1 ,11,12, also Unity 2019.2.0b10.
  • i also tried different versions of the LWRP.

it seems like Unity subscenes is not Compatible with the LWRP.

That’s what the game looks like in:

Editor: (after Restarting Unity it starts to behave exactly like the OnePlus2 )
Gif Link : - Find & Share on GIPHY

OnePlus 2:
Gif Link : - Find & Share on GIPHY

Samsung S8 :
Gif Link : - Find & Share on GIPHY

any suggestion will be much appreciated!

We recently tested 5.16.1 of LWRP with 19.1 for Unity on iOS for our Physics samples and it worked fine.

But we currently doing most of our own testing in HDRP not in LWRP on dots.

I think you should file a bug with the project folder.

i used the exact same version but nothing changes, did you tested with subscenes too ?

i just tested Again, Without LWRP everything is working perfectly, but when i change the project to LWRP again (without changing anything else) everything go crazy.
so this means the problem is related to LWRP.

Please file a bug with a project folder where this reproduces. Post case number here as well please.

i attached the project as a compressed file: Case 1172922

@Joachim_Ante_1
sorry it’s been more than a month now, me and my team are still waiting for a response, it’s critical for us to know which RP we are going to use.
pls Anything New ?

This is what happens to me with LWRP / Universal RP in 2019.3 with the most current LWRP/URP update.

The first vehicle is just a normal model, the second one has an entity conversion script on it and is the one used in the video above.

Then here is what happens in 2019.2 with LWRP when I tried to use lit shaders on moving things. It crashes Unity after about 20-30 seconds of that.

I am not using subscenes at all, it just happens either way. LWRP seems to work ok in 2019.2 as long as I use an unlit shader, which I don’t really like, but I am just making do until it is fixed. 2019.3 I can’t use at all, unfortunately.

1 Like

I’m using LWRP in 2019.2 with no problems whatsoever, but I haven’t started using subscenes yet. I mean lit, simple lit, and unlit shaders all work fine. Meshes rendered with the hybrid renderer look fine. Animated meshes (using traditional animator and a hybrid approach) work perfectly fine.

Have you tried doing a reimport all on your project?

I have, I started a new project even. I have an incident opened and uploaded my project to Unity, they said they have not been able to reproduce it on their end, so hopefully that helps.

Hopefully, as the ECS packages move towards production readiness, they’ll sort it out.

they answered me yesterday saying that they were able to reproduce the bug.
so it’s a bug from their part and they will fix it ^_^.

2 Likes

Good deal, hopefully it is related to my other issue with the mesh exploding all over the screen and they can fix that, too. There are some things in 2019.3 that could really benefit me and I simply cannot use it without it crashing until they fix it.

@Joachim_Ante_1
i found out that the problem is not happening when i disable the SRP Batcher Option within the PipelineAsset.
i hope it will help you Resolve it.

1 Like

This is really crazy how long it takes to take care of such a critical bug.
@Joachim_Ante_1 : In the past, I see often presentations only on ios and as you wrote you are testing stuff on ios. Please consider testing on android more frequently as well. The main market share is still android. It does not help if I can develop nicely and reliable for ios only.

1 Like

Case 1172922 closed, Bug still present since “29/07/2019” and nothing new.
That’s Awesome!

Is it present in URP?

Unfortunately yes :frowning:

@tertle
if you are looking to reproduce the bug, jus put few objects in a subscene and enable the SRP batcher.

in the editor it needs few restarts to appear, but for mobile devices just build a player and you will have it.
if you re looking for any project with the bug in it, just send me a PM ill give you a link to download a Sample.

Not really, was just curious. I knew the SRP batcher had issues with the hybrid renderer just didn’t know if they were still around.