Skip to content

Comments

Add rule for Godot temp extension library copies on Windows#4801

Open
NoahGreer wants to merge 1 commit intogithub:mainfrom
NoahGreer:update-godot-gitignore-template
Open

Add rule for Godot temp extension library copies on Windows#4801
NoahGreer wants to merge 1 commit intogithub:mainfrom
NoahGreer:update-godot-gitignore-template

Conversation

@NoahGreer
Copy link

Reasons for making this change

As of Godot 4.2 the editor has a Windows-specific workaround for loading extension libraries. Before the extension library is loaded the Godot editor creates a temp copy of the extension library .dll file with a ~ prefix (e.g. example.dll => ~example.dll). When the extension library is unloaded the Godot editor deletes the temp copy. These copied ~*.dll files are temporary and should be ignored.

Links to documentation supporting these rule changes

Godot 4.2 changelog
https://godotengine.org/article/godot-4-2-arrives-in-style/#gdextension

Godot PR #80188 GDExtension: Copy DLL to a temp file before opening
godotengine/godot#80188

Merge and Approval Steps

  • Confirm that you've read the contribution guidelines and ensured your PR aligns
  • Ensure CI is passing
  • Get a review and Approval from one of the maintainers

As of Godot 4.2 the editor has a Windows-specific workaround for loading extension libraries.
Before the extension library is loaded the Godot editor creates a temp copy of the extension library `.dll` file with a `~` prefix (e.g. `example.dll` => `~example.dll`).
When the extension library is unloaded the Godot editor deletes the temp copy.
These copied `~*.dll` files are temporary and should be ignored.

References:

Godot 4.2 changelog
https://godotengine.org/article/godot-4-2-arrives-in-style/#gdextension

Godot PR #80188 GDExtension: Copy DLL to a temp file before opening
godotengine/godot#80188
@NoahGreer NoahGreer requested a review from a team as a code owner February 21, 2026 04:01
@doriangurazdowski0-prog
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants