Fix managed wrapper function parameter handling for BytesContainer

This commit is contained in:
2025-12-23 00:36:57 +02:00
parent e257f9e4a0
commit 4453453d46

View File

@@ -925,7 +925,7 @@ namespace Flax.Build.Bindings
// BytesContainer
if (typeInfo.Type == "BytesContainer" && typeInfo.GenericArgs == null)
return "MUtils::ToArray({0})";
return $"MUtils::ToArray({value})";
// Construct native typename for MUtils template argument
var nativeType = new StringBuilder(64);