handzlikchris / handzlikchris/FastScriptReload

When Editor reload is on and user both hot reloads changes and tries to enter play-mode, editor crashes

Open
#68 0 comments 0 reactions 0 assignees View on GitHub
bug needs-refinement
Dominant language
C#
Stars
2.2k
Forks
167
PR merge metrics
No merged PRs in 30d

Description

More details from user: (needs confirmation)

it looks like if I recompile when it's not running (by using the shortcut of Fast Script Reload) and very quickly I use the shortcut to Play/Start by game, but the compilation has not finished, then it crashes Unity. (For info I use a Mac). I understand that it cannot run if the compilation is not finished, but sometimes I go too fast, and this happens. It would be good if it could just prevent to play instead of crashing Unity.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce in the Unity editor on macOS by triggering Fast Script Reload and immediately entering Play mode before compilation finishes. Confirm the crash behavior and trace the reload/play transition; done means Play mode is prevented safely while compilation is still running instead of crashing Unity.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
game-dev, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.