Skip to content

Conversation

aaronfranke
Copy link
Member

@aaronfranke aaronfranke commented Mar 14, 2025

I tried to compile my 4D module with the Mono module enabled at the same time, but I found that it was impossible because I have a default argument of type Vector4. I guess the engine doesn't have any of those.

I added the missing types, and replaced the default: case with Variant::VARIANT_MAX to ensure this does not happen again. I marked this as cherry-pick for all stable 4.x branches because this has been a problem since 4.0 and backporting this fix should have no downsides.

@aaronfranke aaronfranke added bug topic:dotnet cherrypick:4.1 cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release labels Mar 14, 2025
@aaronfranke aaronfranke added this to the 4.x milestone Mar 14, 2025
@aaronfranke aaronfranke requested a review from a team as a code owner March 14, 2025 02:20
@akien-mga akien-mga removed cherrypick:4.1 cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release labels Mar 14, 2025
@akien-mga akien-mga modified the milestones: 4.x, 4.5 Mar 14, 2025
@akien-mga akien-mga merged commit 535014f into godotengine:master Mar 14, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@aaronfranke aaronfranke deleted the csharp-missing-vec4 branch March 14, 2025 10:10
@akien-mga
Copy link
Member

Cherry-picked for 4.4.1.

@akien-mga akien-mga removed the cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release label Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release topic:dotnet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants