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

Game Studio crashes on close with a NRE in ScriptSystem #438

Closed
dfkeenan opened this issue Apr 19, 2019 · 0 comments · Fixed by phr00t/FocusEngine#65
Closed

Game Studio crashes on close with a NRE in ScriptSystem #438

dfkeenan opened this issue Apr 19, 2019 · 0 comments · Fixed by phr00t/FocusEngine#65

Comments

@dfkeenan
Copy link
Contributor

@dfkeenan dfkeenan commented Apr 19, 2019

Release Type: Official Release and GitHub

Version: Tested in 3.1.0.1-beta02-550 and master branch

Platform(s): Windows (Game Studio)

Describe the bug
There are certain situations in which a NullReferenceException is throw in ScriptSystem.AddTask when closing Game Studio. It appears that AddTask is being called in GameStudioPreviewService.SetAssetToPreview after the ScriptSystem has been "destroyed" so the property ScriptSystem.Scheduler is null.

To Reproduce
Steps to reproduce the behavior:

  1. Setup Game Studio so you have one Scene open and the Output window open (see below) and close it.
  2. Open project in Game Studio.
  3. Select entity in the hierarchy.
  4. Close Game Studio

Expected behavior
Game Studio should not crash on closing.

Screenshots
image

Log and callstacks
If any, please attach here any log or callstack (preferably in a .txt file using GitHub drag and drop)

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.