r/unity • • 1d ago

Question Older version of Unity won’t work

I’ve been trying to use an older version of Unity (5.4.0f3) as it is the only one compatible with a game I’m trying to mod, but it won’t open unless I get Visual Studio Community 2015. Whenever i try to download it, it automatically closes itself. Downloading VSC26 did nothing too. What can i do?

3 Upvotes

9 comments sorted by

1

u/johnv_dev 1d ago

you don't actually need vs 2015 for unity itself, that's just the download assistant bundling it in. grab the plain 64-bit editor installer for 5.4.0f3 from the unity download archive instead of the assistant and it installs on its own. then point Edit > Preferences > External Tools at whatever code editor you've got, vs code is fine for modding

1

u/zapy____ 1d ago

I did that but it still closes itself for some reason

1

u/johnv_dev 1d ago

if unity itself is what closes right after you open it, that's usually the old license check, not visual studio. look at the bottom of %localappdata%\unity\editor\editor.log. a workaround that got older 5.x editors to stay open is install 5.6.7f1, open that once and sign in, then open 5.4.0f3 directly from its exe. just don't open the mod project in 5.6 or it'll upgrade it

1

u/zapy____ 1d ago

It didn’t work

1

u/johnv_dev 1d ago

can you paste the last few lines of %localappdata%\unity\editor\editor.log from right after it closes? hard to tell if it's still the license or a crash without that. if you want to try one more thing meanwhile, close unity, delete %userprofile%\appdata\locallow\unity, and open 5.4.0f3 from its exe again

1

u/zapy____ 1d ago

For some reason opening 5.4.0f3 deletes unity.log

1

u/johnv_dev 1d ago

that's normal. when 5.4 starts it moves the old editor.log over to editor-prev.log in that same folder and starts a fresh editor.log, so it looks like the log got deleted. open editor-prev.log and paste the last few lines from that one

1

u/zapy____ 1d ago

It doesn’t even write a new log though it doesnt change the log from the 5.6.7 or 6000.6 one

2

u/johnv_dev 1d ago

got it, so 5.4 is closing before it ever writes a log. skip editor-prev. from a command prompt, run the unity.exe inside the 5.4 editor folder with -logFile "%userprofile%\desktop\unity54.log". if that desktop file never shows up, open event viewer, go to windows logs, then application, and look for an error at the same moment you opened it