Git Product home page Git Product logo

Comments (3)

liiir1985 avatar liiir1985 commented on August 25, 2024

appdomain下的注册函数都必须在主工程调用,不能在热更中调用,因为这些注册本来的意义就是为了避免IL2CPP剪裁

from ilruntime.

jiezuowhu avatar jiezuowhu commented on August 25, 2024

但是我测试了,放到热更中调用运行起来也是没问题的(IOS端)。所以就有点搞不懂了

from ilruntime.

liiir1985 avatar liiir1985 commented on August 25, 2024

ILRuntime强制需要你注册这个并不是因为ILRuntime需要,而是为了预防IL2CPP剪裁导致开发期没发现但是发布之后出现问题。 你在ILRuntime里面进行注册仅仅是绕开了ILRuntime的检测,并不能起到让il2cpp保留类型的作用, 也许你项目其他地方用到了这个类型,所以被il2cpp保留了,但是并不能保证一定没问题

from ilruntime.

Related Issues (20)

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.