#Hybrid Renderer V2 - HDRP Lit DOTS Instancing

1 messages · Page 1 of 1 (latest)

lone hull
#

Oh, I must have missed that in the docs somewhere. I will go ahead and change all the materials. Also that means I can't use the HDRP Package's DefaultHDMaterial since it has instancing disabled by default.

paper sphinx
#

yeah, tbh, gpu instancing should be enabled by default anyway. there's no drawback to it

lone hull
#

I see. Okay, I just enabled all of it, building now.

#

Fingers crossed

#

Ooff, it's giving me the same error.

paper sphinx
#

wait let me check again

#

is it actually an error and the object doesn't get drawn?

#

cause i had this 'error' happen to me also a few times, but unreliable, if you've got a shadergraph, make sure to save it again

#

but it never actually not rendered the object. but gpu instancing should still be enabled for hybrid renderer v2

lone hull
#

I closed unity and deleted the build folder. Gonna re open and fresh build.

#

I'll send you snapshot of the error if it comes up

#

oof, Unity crashed during build!

#

Reloaded, ran build. Same error. Here is screen shot

#

The shader is just the default HDRP/Lit that is shipped with the HDRP package.

paper sphinx
#

hm...i am pretty sure that that's the internal default shader

lone hull
#

Yeah, I'm with you. Like I said, this is a fresh project setup, didn't do any work on it. Now wondering if I should, if I can't get a build to work on defaults lol.

paper sphinx
#

well that depends. check if a non-development build also crashes / opens an error. cause it might not

lone hull
#

ok. I will test it out.

#

Weird. The Release build keeps LiveLink handshake timeout. I even restarted editor and tried again and it still keeps doing that.

paper sphinx
#

so what does that mean? is it an error?

lone hull
#

No, it doesn't even get to the launching state lol. Because of LiveLink. I'm gonna try to build without it and see if it will run like production...

paper sphinx
#

ah, well live link is essential to dots though.

lone hull
#

OMG, I ran the production build (without LiveLink) and it worked! NO errors

#

rendered all my stuff

#

BTW, is ECS builds compatible with NET 4x ? Or it has to be 2x?

paper sphinx
#

should all be compatible

#

what unity version are you using anyway?

lone hull
#

Latest 2020.3.14

paper sphinx
#

ok, should be fine then

lone hull
#

Yeah. Well, it looks like only way I can build is with LiveLink component removed from the Build Configuration. 😦

paper sphinx
#

sorry i couldn't be more help. idk. i do not have these problems