Up to date
This page is up to date for Godot 4.1
.
If you still find outdated information, please open an issue.
Upgrading from Godot 4.0 to Godot 4.1¶
For most games and apps made with 4.0, it should be relatively safe to migrate to 4.1. This page intends to cover everything you need to pay attention to when migrating your project.
Breaking changes¶
If you are migrating from 4.0 to 4.1, the breaking changes listed here might affect you. Changes are grouped by areas/systems.
Warning
The GDExtension API completely breaks compatibility in 4.1, so it's not included in the table below. See the Updating your GDExtension for 4.1 section for more information.
This article indicates whether each breaking change affects GDScript and whether the C# breaking change is binary compatible or source compatible:
Binary compatible - Existing binaries will load and execute successfully without recompilation, and the run-time behavior won't change.
Source compatible - Source code will compile successfully without changes when upgrading Godot.
Core¶
Change |
GDScript Compatible |
C# Binary Compatible |
C# Source Compatible |
Introduced |
---|---|---|---|---|
Basis |
||||
Method |
✔️ |
✔️ |
✔️ |
|
Object |
||||
Method |
✔️ |
❌ |
❌ |
|
Transform3D |
||||
Method |
✔️ |
✔️ |
✔️ |
|
UndoRedo |
||||
Method |
✔️ |
✔️ |
✔️ |
|
WorkerThreadPool |
||||
Method |
✔️ |
❌ |
✔️ |
Animation¶
Change |
GDScript Compatible |
C# Binary Compatible |
C# Source Compatible |
Introduced |
---|---|---|---|---|
AnimationNode |
||||
Method |
❌ |
❌ |
❌ |
|
Method |
✔️ |
✔️ |
✔️ |
|
Method |
✔️ |
✔️ |
✔️ |
|
AnimationNodeStateMachinePlayback |
||||
Method |
✔️ |
❌ |
❌ |
2D nodes¶
Change |
GDScript Compatible |
C# Binary Compatible |
C# Source Compatible |
Introduced |
---|---|---|---|---|
PathFollow2D |
||||
Property |
❌ |
❌ |
❌ |
3D nodes¶
Change |
GDScript Compatible |
C# Binary Compatible |
C# Source Compatible |
Introduced |
---|---|---|---|---|
Geometry3D |
||||
Method |