Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

FSR: Manager is being destroyed in play session

オープン
#155 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp, unity
領域
game-dev, tooling

調査の方向性

FastScriptReload 1.8 を使用した新しい Unity 6000.0.33f1 プロジェクトで、play mode 中に Test.cs スクリプトを編集して問題を再現します。Test.cs、生成された一時ファイル、および報告された Manager、main-thread、コンパイルのエラーを調査します。記載されたエラーなしで変数の変更が正常にリロードされれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Here's what I've done:

  1. Created a brand new project using Unity 6000.0.33f1
  2. Imported the latest version of the asset (1.8)
  3. Created a test script that spins a cube
  4. Enter play mode and change a variable

When I do this Unity does the usual reload and I get a bunch of errors:

  1. FSR: Manager is being destroyed in play session
  2. Error when executing event, UnityEngine.UnityException: FindObjectsOfType can only be called from the main thread. Constructors and field initializers will be executed from the loading thread when loading a scene.
  3. FSR: Error when updating files: 'Test.cs', FastScriptReload.Editor.Compilation.HotReloadCompilationException: Thread was being aborted. ---> System.Threading.ThreadAbortException: Thread was being aborted.
  4. FSR: Compilation error: temporary files were not removed so they can be inspected: ...

Looking at the 'Test.cs' file and the temporary file that is created shows no errors or anything that would trip it up. I'm honestly not sure what is causing it to break or how to fix it. This is a brand new project and fresh install of the asset.

主要言語
C#
スター
2.2k
フォーク
167
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

handzlikchris/FastScriptReload のほかの issue

handzlikchris/FastScriptReload の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。