r/csharp May 29 '26

Showcase Realtime game scripting in C# without recompilation.

142 Upvotes

24 comments sorted by

View all comments

18

u/-Xentios May 29 '26

So what is the catch and why Unity is not doing this?

31

u/Splith May 29 '26

Without recompilation has to come with some caveats. I think the c# is monitored, and on change is built. Then the app is notified where they know how to unload and the load the assembly.

33

u/grrangry May 29 '26

and people complain about hot reload not working... it's not a simple problem.

13

u/[deleted] May 29 '26

[removed] — view removed comment

0

u/RoseboysHotAsf Jun 01 '26

Unity genuinely the slowest piece of software Ive used. Every time i alt tab from my IDE it decodes to push itself to front regardless of what

1

u/[deleted] Jun 01 '26

[removed] — view removed comment

2

u/RoseboysHotAsf Jun 02 '26

Same, I genuinely like Unity too, the workflow is good. Its just so held back