johnsietsma / ExtendingLWRP

Examples for extending the Unity LWRP
MIT License
241 stars 30 forks source link

Update to Unity 2019.1.0f2 and LWRP 5.13.0 #3

Open aholkner opened 5 years ago

aholkner commented 5 years ago

Incomplete

LWRP 5.13.0 has a significantly different API to 4.0.1; this PR fixes gets the samples working and compiling, however I would like some help from the Unity developers in fixing the final issue: I was not able to get context.DrawRenderers to draw anything, regardless of render layers or filter settings.

aholkner commented 5 years ago

Additionally, these warnings are printed to the console while the frame debugger is enabled, but I'm not sure what to do about them:

Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak
To Debug, enable the define: TLA_DEBUG_STACK_LEAK in ThreadsafeLinearAllocator.cpp. This will output the callstacks of the leaked allocations