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

Graphy crashes after script saving while Unity is running #67

Closed
Mrgove10 opened this issue Oct 21, 2019 · 1 comment
Closed

Graphy crashes after script saving while Unity is running #67

Mrgove10 opened this issue Oct 21, 2019 · 1 comment
Labels
wontfix This will not be worked on

Comments

@Mrgove10
Copy link
Contributor

Mrgove10 commented Oct 21, 2019

How to reproduce

  1. Run your unity game
  2. Go modify a script (even adding a comment)
  3. Go back to unity, wait for unity to compile the changes
  4. After unity has finished, graphy will throw :
NullReferenceException: Object reference not set to an instance of an object
Tayx.Graphy.Fps.G_FpsGraph.UpdateParameters () (at Assets/Imports/Graphy - Ultimate Stats Monitor/Scripts/Fps/G_FpsGraph.cs:72)
Tayx.Graphy.Fps.G_FpsManager.RefreshParameters () (at Assets/Imports/Graphy - Ultimate Stats Monitor/Scripts/Fps/G_FpsManager.cs:219)
Tayx.Graphy.GraphyManager.RefreshAllParameters () (at Assets/Imports/Graphy - Ultimate Stats Monitor/Scripts/GraphyManager.cs:705)
Tayx.Graphy.GraphyManager.OnApplicationFocus (System.Boolean isFocused) (at Assets/Imports/Graphy - Ultimate Stats Monitor/Scripts/GraphyManager.cs:368)
UnityEditorInternal.InternalEditorUtility:OnGameViewFocus(Boolean) (at ?)
UnityEditor.DockArea:OnEnable() (at ?)

Afer this, your game is still running but in a wierd buggy state (buttons don't work sor example)

Unity Version : 2019.3.0b6

@Mrgove10 Mrgove10 changed the title Graphy craches after script saving while unity is running Graphy crashes after script saving while Unity is running Oct 21, 2019
@Tayx94 Tayx94 added the wontfix This will not be worked on label Oct 21, 2019
@Tayx94
Copy link
Owner

Tayx94 commented Oct 21, 2019

This is expected, not worth fixing as recompiling while Unity is running is not supported and will create strange behaviours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants