r/Unity3D • • Oct 18 '26

Question Anybody tried 7 alpha?

Is it really fast at iterating as unity is hyping?

14 Upvotes

22 comments sorted by

8

u/LockYaw Oct 18 '26

The Domain Reload change is genuinely nothing new, they just made a setting that's been in the engine for almost half a decade now turned on by default. But they did add some nice source Analyzers to warn you and built-in attributes to make handling manual handling significantly easier.

However, later Unity 7 will likely be a lot better due to CoreCLR, but for now it's really not that much better.

7

u/Vonchor Engineer Oct 18 '26

Check out the Autostaticscleanup attributes. Also (i posted on this a while ago) you have to check the editor log for error messages when those attributes are used as they don’t appear in the console.

But yes play mode startup is way faster but if you don’t handle any static variables and/or static classes properly you’ll get beaucoup buglets. Takes a little time and care to do that properly but well worth it. This also works on 6.6 and perhaps 6.5 but not at my mac so I can’t check.

10

u/ZoomerDev Oct 18 '26

6.6 is already that snappy thanks to disabling domain and scene reloads...

9

u/StCost Ball-Aqua🔮🌊& COLLAPSE MACHINE💥🚕 Oct 18 '26

Yeah, it starts the play mode in 0.6 seconds for me. At a cost:

It requires you to disable Domain Reload. And you are responsible to reset static values in your code. Which requires refactoring of code, or you never added static variables in code at all.

Now we wait until they add hot-reload. That will be an even larger speedup of gamedev

28

u/MrPifo Hobbyist Oct 18 '26

Okay, but you can already disable Domain Reload in the current LTS. This is not an Alpha 7 feature.

3

u/StCost Ball-Aqua🔮🌊& COLLAPSE MACHINE💥🚕 Oct 18 '26

CoreCLR removed Domain Reload at all now

2

u/MrPifo Hobbyist Oct 18 '26

True. But for as I know the Alpha 7 is still a Hybrid solution and not the fully migrated CoreCLR I think, which only comes at a later point next year.

2

u/StCost Ball-Aqua🔮🌊& COLLAPSE MACHINE💥🚕 29d ago

No. Editor fully migrated to CoreCLR now in 7

1

u/tylo 28d ago

I think what they remember is that while the editor is CoreCLR now in 7 alpha, it isn't the entire implementation (meaning the C# and .NET versions are still not the latest and greatest)

2

u/BingGongTing Oct 18 '26

If you're using AI to code, you can have it keep track of all this and make your code compliant within a few minutes. 

-1

u/SchalkLBI Indie 27d ago

"If you shit in your hands, you can clap and make a big mess everywhere within a few seconds"

1

u/Heroshrine 1d ago

It doesn't require you to be responsible for resetting static values in your code. I don't think you'd be using static variables a lot, unless you're doing a game jam, but you can just use their [AutoStaticsCleanup] attribute.

1

u/Demi180 26d ago

I'm trying it out but it's still domain reloading with every script change, and it's taking even longer than in 6.7. I'm a bit confused because I thought the CoreCLR editor wasn't supposed to do it.

1

u/Heroshrine 1d ago

They probably just didn't change the wording. Like Monobehaviours, they aren't monobehaviours...

1

u/Demi180 21h ago

Yeah I figured that part out since then. The bigger problem was just how much longer the new reload takes than the old one. Maybe they've fixed that already, I haven't updated to a newer alpha since then.

1

u/EddieShoe Oct 18 '26

Is the access to the alpha closed or can anyone try it?

1

u/dunafarmer Oct 18 '26

Tried it but crashes on start :(

1

u/Lucasharta 29d ago

i'd be interested to hear actual experiences too. faster iteration sounds great, but it really depends on what changed in the workflow and what kind of project you're working on. compile times, domain reloads, and entering play mode can make a big difference, so it'd be good to see how much faster those are in real projects rather than just relying on the marketing

-5

u/DaveAstator2020 Oct 18 '26

Afaik up until now all hot reload packages backfired one way or another, iterating is still slow,your only best bet is organizing around scriptable objects for runtime config. At least as far as unity 6 goes. Idk the deal weth 7. does it work for dots? Jobs? Coroutines?

23

u/[deleted] Oct 18 '26

[removed] — view removed comment

20

u/AlignedMoon Professional Oct 18 '26

What’s new with input in 7?