Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Memory Leak - AccumulateTransmissionURP.shader
#1
Im seeing millions of un-destroyed instances of materials when playtesting called "Hidden/AccumulateTransmissionURP" around 1.9kb each - possibly related to the AccumulateTransmissionURP.shader. 

Frame debugger shows nothing using this shader. 

Memory profiler shows: 
Shortest Path To Root shows "ROOT: Material "Hidden/AccumulatedTransmissionURP"
Referenced by: empty
References TO: Shader "Hidden/AccumulatedTransmissionURP"


Oddly this bug is only apparent when testing on PC. If i test a build on android this leak does not happen. 

Im unsure of how to continue diagnosing this. Anyone have any advice?

Thanks and Thank you for the great physics package!
Reply
#2
Hi!

We fixed a very similar issue in 7.0.5, specifically, we were not checking if the fluid transmission accumulation material was null before creating it - leading to the creation of a new instance every frame. Line 103 in ObiFluidRendererFeature.cs should be:

Code:
if (m_TransmissionMaterial == null) m_TransmissionMaterial = CreateMaterial(Shader.Find("Hidden/AccumulateTransmissionURP"));

Let me know if I can be of further help,

kind regards
Reply
#3
Just checked and the version on the store (7.1) doesn't include this fix for some reason, despite it being part of our production branch for more than a year. Another user reported an error that should already be fixed but isn't included in the latest version, I'm going to reupload it just in case.

kind regards,
Reply
#4
(22-04-2026, 08:28 AM)josemendez Wrote: Just checked and the version on the store (7.1) doesn't include this fix for some reason, despite it being part of our production branch for more than a year. Another user reported an error that should already be fixed but isn't included in the latest version, I'm going to reupload it just in case.

kind regards,

Would it be possible to update other obi modules to 7.1.1 so they include other missing changes?
Reply
#5
(22-04-2026, 02:19 PM)Qriva0 Wrote: Would it be possible to update other obi modules to 7.1.1 so they include other missing changes?

I've uploaded fluid and the full suite a couple hours ago, will upload the remaining 3 (rope, cloth and softbody) tomorrow morning.

cheers!
Reply
#6
(22-04-2026, 02:30 PM)josemendez Wrote: I've uploaded fluid and the full suite a couple hours ago, will upload the remaining 3 (rope, cloth and softbody) tomorrow morning.

cheers!

Great, thank you!
Reply
#7
(22-04-2026, 02:30 PM)josemendez Wrote: I've uploaded fluid and the full suite a couple hours ago, will upload the remaining 3 (rope, cloth and softbody) tomorrow morning.

cheers!


Thanks so much!!
Reply