Is there a limit to the number of CustomRenderTexture dependencies?
Android builds crash when I increase the number of CustomRenderTextures I use in my project, and logcat points me to
/lib/arm/libunity.so CustomRenderTexture::GetDependenciesRecursive() const at ??:?
I have a single CustomRenderTexture using a water shader (Shader Graph). This texture is shared between X by Y number of other CustomRenderTextures producing a grid-based map. The grid's CustomRenderTextures are all created at runtime, but the water texture is not - it's one reference shared by all of them. When I increase the grid from 5x5 to 7x7 I see a crash on boot, but on PC I can go beyond 100x100. I don't believe it's a circular dependency or I would expect a crash at 2 chunks and not 49.
Am I just misusing CustomRenderTextures (the documentation describes chaining CustomRenderTextures as a valid use), or is this considered a bug that should be reported?
Your answer
Follow this Question
Related Questions
Unity3d 2020 Universal Rendering pipeline(URP) shader are pink 2 Answers
Broken colors when updating from Unity 2017 to 2018 0 Answers
Optimization Help Please? 1 Answer
Farther away object turns green 0 Answers
HDRP Render ObjectIDs to Texture 0 Answers