Code Monkey home page Code Monkey logo

il2cpp_plus's People

Contributors

pirunxi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

il2cpp_plus's Issues

Debug.Log相关接口输出的调用栈不完整

用Unity 2020.3.33+Win64,在最新的hybridclr_trial工程中,修改 CreateByCode.cs 可复现:

public class CreateByCode : MonoBehaviour
{
    private void Awake()
    {
        A();
    }

    // Start is called before the first frame update
    void Start()
    {
        Debug.Log("这个脚本是通过代码AddComponent直接创建的");

        A();
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    private void A()
    {
        B();
    }

    private void B()
    {
        Debug.LogError("Test");
    }
}

编辑器内的输出:

Test
UnityEngine.Debug:LogError (object)
CreateByCode:B () (at Assets/HotUpdate/CreateByCode.cs:33)
CreateByCode:A () (at Assets/HotUpdate/CreateByCode.cs:28)
CreateByCode:Start () (at Assets/HotUpdate/CreateByCode.cs:17)

Win64打包版本的输出:

Test

UnityEngine.Debug.LogError (Object)

Unity il2cpp crash bug introduced in 2021.3.12, fixed in 2021.3.16

We're encountering the following il2cpp crash bug that was introduced in Unity 2021.3.12 and fixed in 2021.3.16:
https://issuetracker.unity3d.com/issues/build-crashes-on-il2cpp-vm-class-getvirtualmethod-when-building-and-running-a-project-using-il2cpp-scripting-backend

This happens if you make a Development Build with Script Debugging enabled. The crash occurs because of a missing NULL check in the following function.
[il2cpp\libil2cpp\vm\Class.cpp:2242] il2cpp::vm::Class::GetVirtualMethod()

Unity added the NULL check back in 2031.3.16, but the latest version of Class.cpp in the il2cpp_plus repository is based on the 2021.3.14 version with the bug. Merging Unity's changes back into il2cpp_plus would be helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.