tuyoogame / huatuo

huatuo是一个特性完整、零成本、高性能、低内存的近乎完美的Unity全平台原生c#热更方案。 Huatuo is a fully featured, zero-cost, high-performance, low-memory solution for Unity's all-platform native c# hotfix
MIT License
2.31k stars 377 forks source link

Vector3使用问题 #20

Closed tinygridlock closed 2 years ago

tinygridlock commented 2 years ago
public static UnityEngine.Vector3 Func(bool b)
{
    var v = new UnityEngine.Vector3(1, 2);
    if (b)
    {
        v = new UnityEngine.Vector3(1, 2, 3);
    }

    return v;
}

libil2cpp/huatuo/transform/Transform.cpp 的第2622行 IL2CPP_ASSERT(evalStackTop >= 4); 会出问题

pirunxi commented 2 years ago

已确认。已修复。