Steps to reproduce:
1. Empty Scene
2. Create a Physical Material + Bitmap Lookup node with a random texture
3. And/Or add a HDRI Environment and a environment map
4. Run either Activeshade or Renderview IPR then close Activeshade or stop the IPR
5. Re-run Activeshade/IPR
I've discussed a similar issue with Mads a couple of months back where the background of the HDRI just disappeared and i think he created a ticket for this and it got fixed fairly quickly.
I'm not sure if this error on second render was in the bug report back then but this still errors out 100% of the time for me, sometimes it even creates a critical cuda error and i have to restart max, i'm not sure if there is already a ticket for this.
Any ETA for this? It's kinda annoying since those OSL maps are kinda important for lookdev via GPU.
If this only happens on my machine and yours renders fine let me know and I'll add some debug logs.