Because I am now officially on my Christmas Break I wanted to get started messing around a bit with Unity 5.
I downloaded 5.3.x (whatever the latest is) installer and ran it. After the installation process completed it attempted to launch Unity and it immediately crashed to the Bug Report screen.
I rebooted my computer and manually launched it. Same thing. As soon as I launch it I see the splash window pop up for about 1 second at most and then it closes and the Submit Bug Report window appears.
I tested Unity 4.6 that I was using and it still works fine.
Is there some trick to getting 5.3 working?
I am about to try the latest release of Unity 5.2 and see if I have better luck with that.
And no I have not submitted a bug report. This just happened seconds ago and there is no project to submit as a test to reproduce the behavior or anything. It just simply fails on its own.
I should say though to you I initially installed 5.3.0f1 I had to manually install most of the Unity models but on 5.3.1f1 all that was correctly done by the installer. Unity 5.3.x does seem to use up a lot more gigabytes than it used for Unity 5.0.x - 5.2.x.
The one bug I did have in Unity 5+ was with an FBX that on upgrade it was crashing a FBX pre-processing utility from Unity. I got around that by identifying the FBX that started crashing in Unity 5 and deleting it. I filed a bug report but haven’t heard anything about that bug.
However from your symptoms base on my earlier experience with Unity 5 you have your Unity set to automatically open the last project without prompting. Your crash is likely due to a shader being used in the scene Unity is trying to open. Go to the Unity editor log file and see what that shader is and then delete it within your project folder. You can choose a new shader then when Unity opens to the scene and doesn’t crash.
Hey thanks man. As much as I have used Unity now I don’t know anything about shaders and so forth. Never paid any attention to that stuff. Probably because how graphics look is of much lower importance to me than other things like action, adventure, interaction and the gameplay experience. Although looking good is a nice thing too.
It’s only now that I am planning on actually playing around with the 3D in Unity.
I have the latest 5.2x version installing now and will try it out. If it also fails is there some way, a config file or registry setting that is used to store which project to automatically open? If so I will just remove it entirely.
Wait a second… actually I could just open one of the samples for Unity 5.2 directly instead of launching Unity 5 first and that should do the trick, right?
You should be able to right click on a .unity project file and avoid the crash problem but I’m still guessing it’s the project file that you have being opened without being prompted that has some type of bad shader causing the crash. The Unity Editor log should point you right to the crash. On Windows it’s Users\My User\AppData\Local\Unity\Editor\Editor.log.
Well, I actually checked the log as soon as it crashed and it had nothing in it about shaders or anything at all.
No information was after the stack trace.
The error it said was writing to some location. Wait a second let me dig it back up if it is still in that temp folder…
Yeah, here it is…
Error occurred at 2015-12-21_165432.
C:\Program Files\Unity5.31f1\Editor\Unity.exe, run by Gar.
23% memory in use.
16303 MB physical memory [12501 MB free].
32687 MB paging file [28404 MB free].
134217728 MB user address space [134216598 MB free]. Write to location 34dc0c94 caused an access violation.
As long as 5.2.4f1 works I am happy with it. I don’t need the latest version anyway was just wondering if maybe others had encountered this issue or if didn’t select something I was supposed to in the installer or whatever. Previously, it was just a single file I downloaded that installed it all without me choosing anything. This time it was an installer and I selected the stuff I wanted. Which of course could be an opportunity to screw something up if they don’t have it always including the absolute necessities. lol
5.2.4f1 should be done installing here shortly and I can try it out.
Well I don’t know what version of Windows you are using but it now looks to be an VS Studio - Windows SDK version problem. Hope it’s not a HW problem. If it’s the HW you are targeting deleting everything in your Unity project folder but ‘Assets’ will cause the build to default to I think to ‘WebGL’ or a platform that at least won’t cause this access violation problem for you.
I used to get a similar error with my ASUS EP121 because the HW actually was incorrectly programmed and violated Windows 8.1 HW specs and couldn’t be changed. The HW was RO. Windows / Unity was trying to set a HW value but it was read only, hence an access violation. That computer though fried this past June and the new one doesn’t have that problem.
Hey @goat_1 quick question where do the example projects install to?
I don’t recall ever looking at them before. Dug through the Unity installation folder and subfolders and don’t see them in there any place so am guessing they must get installed elsewhere.
I tried 5.2.4 and it immediately bombs out with the same error.
However, VS 2013 and 2015 launch without issue on their own. Definitely seems like a Unity specific issue.
So am thinking if I can open a 5.x project that will at least tell me if it is something related to the project it is trying to open. Kind of stupid there is no way to edit the prefs to change it to not do that. lol Seems like there must be a config/prefs file or registry keys for Unity someplace.
Thanks for your excellent tech support. I got it going with the Robot demo thingy.
At first Unity would launch & load the project and when I hit play the game worked for about 15 seconds then “Unity Editor has stopped working”.
I changed to build a desktop version instead of webplayer and the problem went away. So it seems to be something related to the webplayer causing the issue on my machine.
On another note that robot game looks really weird, doesn’t it? If this is what all the hoopla has been about reaching Enlightenment or whatever it was with the graphics… I don’t get it. It’s like all washed out or something. Not sure but it looks odd.
But anyway… time to browse around the Asset store and watch some videos so I can learn how to actually work with 3D in Unity.
Well I wanted to take some time on my Christmas break to get started on it.
I thought I had the issue done with but unfortunately I just ran the AngryBots game again to take a screenshot and once again the game ran (in Windows build this time) for about 10 seconds and then “Unity Editor has stopped working”. Of course the AngryBots kept running but Unity itself crashed and closed.
So I don’t know. I will play around with it a bit more but if it is this unstable then I’ll likely say to heck with it and use my free time to check out that Game Maker Studio Pro thing I grabbed on sale for $10 a month or so back. There are just so many game dev tools these days there is no sense in wasting time trying to get any particular one of them to work.
Yeah the unity 5.3 is completely unusable for me, it had a similar problem where it would take a really long time to open a scene. Then if it did happen to open the scene, whenever I clicked on something in the editor it would stall and I guess crash. 5.2 is better but it seems like 5x of unity has been really bad, I dont know if they are trying to add to much or what.
Yeah I tried the very latest 5.3 version and it would never open. Then I tried 5.2.4 and it also crashed immediately to the bug report window. I got it open by directly opening the Robot Demo. The first launch it crashed. Then second time it worked. But then I ran the demo and it crashed about 15 seconds later. Then I changed to Windows build and it did not crash. Then tried it again and it crashed again.