FSR: Manager is being destroyed in play session
还没有人认领这个 Issue。
评估
调研方向
在全新的 Unity 6000.0.33f1 项目中使用 FastScriptReload 1.8,通过在 play mode 期间编辑 Test.cs 脚本来重现该问题。检查 Test.cs、生成的临时文件,以及报告的 Manager、main-thread 和编译错误。更改变量后能够成功重新加载,且没有列出的错误,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Here's what I've done:
- Created a brand new project using Unity 6000.0.33f1
- Imported the latest version of the asset (1.8)
- Created a test script that spins a cube
- Enter play mode and change a variable
When I do this Unity does the usual reload and I get a bunch of errors:
- FSR: Manager is being destroyed in play session
- 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.
- FSR: Error when updating files: 'Test.cs', FastScriptReload.Editor.Compilation.HotReloadCompilationException: Thread was being aborted. ---> System.Threading.ThreadAbortException: Thread was being aborted.
- 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.3k
- 派生
- 171
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
handzlikchris/FastScriptReload 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 1/5 1 小时以内 新手友好度 88/100
handzlikchris/FastScriptReload#202 · 2 个 reaction ·
-
csc.rsp support未关闭
难度 4/5 3-5 天 新手友好度 45/100
-
Failed to find entry-points可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 38/100
handzlikchris/FastScriptReload#203 · 4 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
handzlikchris/FastScriptReload#197 · 1 条评论 ·
查看 handzlikchris/FastScriptReload 的全部 Issue
相似的 Issue
-
documentation
难度 1/5 1-3 小时 新手友好度 62/100
-
bug misleading tooling trivial
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
Docs example projects pinned to a literal library version instead of 3.*可能已有人在做 @DaveSkender 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
facioquo/stock-indicators-dotnet#2372 ·
维护者通常 1 天内回复
-
[Docs] officecli-docx SKILL.md still describes `\n` as a soft line break after #262可能已有人在做 @giprime 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
Facepunch/sbox-public#12097 ·
维护者通常 2 天内回复