How to fix the warning "X3557: loop only executes for 1 iteration(s), forcing loop to unroll"

Whenever we have the env prop that uses URP/Lit and it receives shadow, the warning will spam the console. I wonder if there’s a better fix than “uncheck receive shadow” on the mat. Thank you!

Kinda similar to this post here:

Original Post on Discord

by user 1052295380936691712

HI@marcel :cactus: You can reproduce this in the same “frontline demo” project I sent you for the mirror issue earlier! Thank you so much!

by user 1052295380936691712

Hi, thanks. I’ve created a task to look at this

really appreciate it!

by user 1052295380936691712

also, this warning exists only in dev build not prod build!

by user 1052295380936691712

Hi, I didnt see this error/warning, even in the bugreport you sent earlier.
Which browser were you using and which version?

by user 1052295380936691712

This error comes and goes for me. It’s really puzzling.

by user 420944948767227905

Perhaps the next update tomorrow fixes that, it should fix the render texture frameloop issue/warning

Yay! thank you!

by user 1052295380936691712

this one persists tho:blobhyperthink:

by user 1052295380936691712

Really? I didnt see it once in the test repro you sent me :thinking: using chrome 115.0.5790.110

Could it be caused by something not included in the files you sent?

I can send another bug report! sorry for the confusion

by user 1052295380936691712

Let’s try