How to reproduce:
1. Open the “LineRendererML.zip“ project
2. Open the “New Scene“ Scene
3. Open the “NewMonoBehaviorScript“ Script in the Project tab
4. Change anything in the script and save the changes to cause a Domain Reload
5. Observe the Console in the Editor
Expected result: Nothing is logged that would involve a memory leak
Actual result: A “Leak Detected“ message is logged
Reproducible in: 2023.3.0a15, 6000.0.39f1, 6000.1.0b7, 6000.2.0a4
Not reproducible in: 2023.3.0a14
Could not reproduce in: 2022.3.58f1 (does not have High Quality Line Renderer Volume override)
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- The High Quality Line Rendering has also to be enabled in the Volume overrides
- Reproducible only in HDRP
- This issue regressed at the same time when the [Internal link] bug regressed, so it’s likely related