Memory Leak, I think?

Hi Folks,
Brand new, literally, to Unity. I’ve tried this against two installs
2021.3.9f1
2022.1.16f1
Running i5 9600k
64 gig ram
Main drive Samsung 970 evo with 1.5gb free.
Win11 (up-to-date)

UOH = User Objects/Handles in W11 task manager (Unity.exe)

Open Hub
New project 2D (Core)
Create project (UOH-157,2840)
Rename scene (UOH: 1282,2870) + 2nd Exe (UOH: 9,1320)

Main Camera change BG to black (UOH: 2312,2898) + 2nd Exe (UOH: 9,1317)

Create 2D object, sprite, square (UOH: 3444,2921) + 2nd Exe (UOH: 8,1313)
Change Sq’ scale 0.25,0.25,0.25 (UOH: 4392,2938) + 2nd Exe (UOH: 10,1313)

Create 2D object, sprite, square (UOH: 6097,2950) + 2nd Exe (UOH: 9,1311)
Change Sq’ scale 0.2,1.5,1.0 (UOH: 7468,2967) + 2nd Exe (UOH: 10,1309)
Change position scale -9.67,0,0 (UOH: 8029,2979) + 2nd Exe (UOH: 8,1309)

Copy and paste last object (UOH: 10,000,2997) + 2nd Exe (UOH: 8,1309)

Unity either Freezes or every item in my task manager opens on my screen and my PC crashes.
Current error in red: Assertion Failed on expression: ‘M_Window’
Memory commit total = 14.41gb
I read somewhere that there is a hard limit of 10,000 per session.

I’m piecing all this together from what I have read elsewhere. I don’t understand any of it. But I know enough tech stuff to know something is amiss. And I don’t feel like I’ve dome something incorrect myself.

BTW Win11 was a clean install one week ago. Unity installed yesterday. All drivers et al up to date also.

Can anyone advise what I may be able to do to try and sort this out.
It’s just Pong. The first video game I ever played. I suppose it was going to be like, my ‘Hello World’.

Thanks in advance,
Mike

1 Like

I’m having the same issue on Windows 11 after upgrading to 2021.3.9
No issues in 2019.4.35, using that version for now…

eatsports2,
Thanks.
I come from the mind view, that whilst the latest alphas and betas will probably work fine. I’ll take the absolute latest stable update of most software. Seems like I will need a different mindset with Unity.
I tried your 2019.4.35 and it worked a treat. And I’ve just installed 2020.3.38 which is currently topping out at:
(UOH: 148,2875) + 2nd Exe (UOH: 5,1261)
Hope you get your issue sorted.
M.

1 Like

Same here. Started happening after 2021.3.9. I’m also on Windows 11.

1 Like

For Anyone’s’ info.
Currently up to 2021.1.28f working okay.
Handles topping out around 3,000.

There are only so many installs I can do a day with ADHD…lol…
I might just stick where I am for now. I’m only learning at the moment. Nothing critical.
M.

1 Like

Same, this started when we “upgraded” to 2021.3.9f1, and I’m on Windows 11. Too bad 2021.3.10f1 has a different issue: 2021.3.10f1 cannot build with with resolved libraries, but with them deleted, the game cannot run , also 2021.3.5f1 has a random crash bug. Does LTS stand for long-term suffering?

What exact Windows version/build are you on?

Windows 11 Pro 22H2 OS Build 22622.601

Can you report a bug on this? Does it reproduce on an empty project?

I’m gonna try to reproduce this at the weekend, get some details and log a bug. My workflow has ground to a halt on 2021.3.10, having to constantly restart the editor. Going to revert the project to 2021.3.8.

You have the info you need, I’ll let your QA handle the extra legwork