.NET: Failed to unload assemblies. Please check <this issue> for more information.
### Godot version Any 4.x version ### Issue description Assembly reloading can fail for various reasons, usually because a library used in tools code is not compatible with assembly unloading. After unloading has failed, C# scripts will be unavailable until the editor is restarted (in rare cases it may be possible to complete the unloading by re-building assemblies after some time). If assembly unloading fails for your project check [Microsoft's troubleshooting instructions](https://learn.microsoft.com/en-us/dotnet/standard/assembly/unloadability#troubleshoot-unloadability-issues) and ensure that you are not using one of the libraries known to be incompatible: - https://github.com/JamesNK/Newtonsoft.Json/issues/2414 - https://github.com/dotnet/runtime/issues/65323 If you know of additional libraries that cause issues, please leave a comment. If your code doesn't use any libraries, doesn't violate any [guidelines](https://learn.microsoft.com/en-us/dotnet/standard/assembly/unloadability#troubleshoot-unloadability-issues) and you believe unloading is blocked by godot, please open a new issue. Already reported causes are: - https://github.com/godotengine/godot/issues/79519 - https://github.com/godotengine/godot/issues/80175 [^1] - https://github.com/godotengine/godot/issues/81903 - https://github.com/godotengine/godot/pull/90837 [^1] ### Minimal reproduction project & Cleanup example ```csharp using Godot; using System; [Tool] public partial class UnloadingIssuesSample :
Posted by RedworkDE on Jun 21, 2023, 9:26 AM
Tags
Related issues
- [BUG] Cowork (Windows): all Plan9 shares fail with "Plan9 mount failed: invalid argument" after Windows update KB5124008 (26200.9445) — uninstalling the KB fixe
- Feature Request: Auto-resume CLI session when usage limit resets
- Please deobfuscate the Python
- [Bug] MLX version of Gemma 4 26B fails to load: "Model type gemma4 not supported" (macOS)
- # 233 Developers Discussed Abandoning the Office Add-in Platform — An Open Letter on the Office.js Stability, Security & Trust Crisis
- [FEATURE] Allow users to configure which shell the Bash tool uses or inherit initial shell
Raise real-world problems, find people facing the same issue, and discuss solutions.2,500 issues0 comments
reliability (Software)
[BUG] Cowork (Windows): all Plan9 shares fail with "Plan9 mount failed: invalid argument" after Windows update KB5124008 (26200.9445) — uninstalling the KB fixe
Feature Request: Auto-resume CLI session when usage limit resets
Please deobfuscate the Python
[Bug] MLX version of Gemma 4 26B fails to load: "Model type gemma4 not supported" (macOS)
# 233 Developers Discussed Abandoning the Office Add-in Platform — An Open Letter on the Office.js Stability, Security & Trust Crisis
[FEATURE] Allow users to configure which shell the Bash tool uses or inherit initial shell
Admin Materials and Surfaces
AMD Support
.NET: Failed to unload assemblies. Please check <this issue> for more information.
### Godot version Any 4.x version ### Issue description Assembly reloading can fail for various reasons, usually because a library used in tools code is not compatible with assembly unloading. After unloading has failed, C# scripts will be unavailable until the editor is restarted (in rare cases it may be possible to complete the unloading by re-building assemblies after some time). If assembly unloading fails for your project check [Microsoft's troubleshooting instructions](https://learn.microsoft.com/en-us/dotnet/standard/assembly/unloadability#troubleshoot-unloadability-issues) and ensure that you are not using one of the libraries known to be incompatible: - https://github.com/JamesNK/Newtonsoft.Json/issues/2414 - https://github.com/dotnet/runtime/issues/65323 If you know of additional libraries that cause issues, please leave a comment. If your code doesn't use any libraries, doesn't violate any [guidelines](https://learn.microsoft.com/en-us/dotnet/standard/assembly/unloadability#troubleshoot-unloadability-issues) and you believe unloading is blocked by godot, please open a new issue. Already reported causes are: - https://github.com/godotengine/godot/issues/79519 - https://github.com/godotengine/godot/issues/80175 [^1] - https://github.com/godotengine/godot/issues/81903 - https://github.com/godotengine/godot/pull/90837 [^1] ### Minimal reproduction project & Cleanup example ```csharp using Godot; using System; [Tool] public partial class UnloadingIssuesSample :
Comments (0)
No comments yet. Start the discussion.