Giter Club home page Giter Club logo

Comments (5)

chexiongsheng avatar chexiongsheng commented on June 5, 2024

和这个issue可能一样:#1619
在你的xcode重编译plugin试试呢?如果不行把v8也重编译下试试

from puerts.

xtutu avatar xtutu commented on June 5, 2024

项目里还装了: com.tencent.puerts.webgl 2.0.4
排查下来,发现:只要把这个删掉,IOS 就不会奔溃。

from puerts.

chexiongsheng avatar chexiongsheng commented on June 5, 2024

哦,应该是com.tencent.puerts.webgl 2.0.4导致的,它下面有个cpp文件,里面有些符号和puerts plugin是一样的
https://github.com/zombieyang/puerts_unity_webgl_demo/blob/master/packages/webgl/upm/Runtime/Plugins/WebGL/puerts.cpp

from puerts.

chexiongsheng avatar chexiongsheng commented on June 5, 2024

你试试在
https://github.com/zombieyang/puerts_unity_webgl_demo/blob/master/packages/webgl/upm/Runtime/Plugins/WebGL/puerts.cpp

加宏让这些代码只在webgl生效

#if !defined(__EMSCRIPTEN__)
//原来的代码
#endif

from puerts.

xtutu avatar xtutu commented on June 5, 2024

按照上面的方式,修好了

from puerts.

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.