Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash with unity2017.2 ?? #156

Closed
chiuan opened this issue Nov 7, 2017 · 6 comments
Closed

crash with unity2017.2 ?? #156

chiuan opened this issue Nov 7, 2017 · 6 comments

Comments

@chiuan
Copy link

chiuan commented Nov 7, 2017

crash with unity2017.2 ??

always ....please help...

@thorning
Copy link

I get a lot of crashes with 2017.2 as well. It seems to happen 50% of the time when I press play after making code changes.

A loader window popup with title "VSCode" and text "Checking for updates". I get this every time I edit code and return to unity, and then again when I press play in the editor, but it only crashes when I press play.

I have my platform set to iOS and use .net 4.6

@thorning
Copy link

It seems the error happen in the function CheckForUpdate in VSCode.cs:480. Disabling this with a return statement line 1 solved the crashes as a quick fix.

@jasontuttle
Copy link

I'm seeing crashes as well on Unity 2017.2 -- It happens every time I quit Unity. Just tried removing VSCode, and the crashes went away. I also tried disabling "CheckForUpdate" per thorning's comment above. No luck, still crashes every time I quit Unity.

@reapazor reapazor reopened this Nov 18, 2017
@chiuan
Copy link
Author

chiuan commented Nov 20, 2017

@jasontuttle i have fix this .

just comment the Function "UpdateUnityPreference" > "// FixUnityPreferences();" the last line.
it works.

@chiuan chiuan closed this as completed Nov 20, 2017
@jasontuttle
Copy link

jasontuttle commented Nov 21, 2017

@chiuan is correct: Commenting out the last line of the Function "UpdateUnityPreference" > "// FixUnityPreferences();" fixes the problem.

Thanks @chiuan !!!

@reapazor
Copy link
Contributor

That line was used to fix an issue where preferences werent being read. Might mean the bug in Unity was resolved with that and would stop the crash accordingly.?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants