Code Monkey home page Code Monkey logo

Comments (6)

DavidArayan avatar DavidArayan commented on July 18, 2024

Hello,

Would you be able to provide a debug output of the crash?

from ezy-slice.

nemesiscy avatar nemesiscy commented on July 18, 2024

This is a build that includes Metal in the Graphics API. As attached is a .txt of the Debug Output.
Im not seeing any errors on the debug output or im missing it. So, Ill post a screenshot of the EXC_BAD_ACCESS error too.

DebugLog.txt
screen shot 2019-03-07 at 8 31 37 am

from ezy-slice.

nemesiscy avatar nemesiscy commented on July 18, 2024

This is a build without Metal in the Graphics API. I saw some solution saying to disable Metal so i tried it. But its not working but ill still post the debugs here.

DebugLogWithoutMetal.txt
screen shot 2019-03-07 at 8 45 48 am

from ezy-slice.

DavidArayan avatar DavidArayan commented on July 18, 2024

That's interesting. So it's crashing when either reading or assigning vertices from the object. When you run this code in the Unity Editor, you don't get any crashes?

from ezy-slice.

nemesiscy avatar nemesiscy commented on July 18, 2024

Unity Editor works fine, note that it only crashes in some IOS devices. 5C works fine, XR crashes, IPAD Mini 3 crashes.

from ezy-slice.

DavidArayan avatar DavidArayan commented on July 18, 2024

I tested the code on Iphone 7 and seems to be running fine. This looks like some kind of race-condition with the Mesh objects. Could you please check the following things.

  1. The GameObject you are slicing is not destroyed before the slicer has an opportunity to run. This can occur if you're running the slicer in a coroutine and doing things with the GameObject elsewhere.
  2. The GameObject you are slicing does not get destroyed in another thread while it's being sliced.
  3. There is currently no support for multi-threaded slicing, just making sure you're not performing slice operations in a thread other than the main thread.

from ezy-slice.

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.