Code Monkey home page Code Monkey logo

Comments (5)

chamons avatar chamons commented on June 8, 2024

Thanks for the feedback!

So that appears to be coming from xamarin_invoke_trampoline in trampolines-invoke.m.

Since you said it only happens in release mode, I wonder if the linker is removing that code, and we are unexpectedly needing it in this case.

As a debugging measure, try setting the linker to "Don't link" and re-running your test in Release mode.

It would also be helpful if you could produce a small sample project showing the crash.

from ios-samples.

smazza94 avatar smazza94 commented on June 8, 2024

I did the following change and the problem went away

instead of

[Export("renderer:updateAtTime:")]
public void RendererUpdateAtTime(SCNSceneRenderer renderer, double updateAtTime)

use

[Export("renderer:updateAtTime:")]
public void Update(ISCNSceneRenderer renderer, double timeInSeconds)

Maybe a conflict with the SCNSceneRenderer... any ideas?

Thanks anyway! @chamons

from ios-samples.

chamons avatar chamons commented on June 8, 2024

Oh I missed this on my first read:

image

Hey @rolfbjarne thoughts?

from ios-samples.

rolfbjarne avatar rolfbjarne commented on June 8, 2024

Looks like this is a problem from back in Classic Xamarin days, this is the api definition:

https://github.com/xamarin/xamarin-macios/blob/5740e372a0e3ddb019beaa16bbc6f22959da7a25/src/scenekit.cs#L3273-L3275

in other words: using ISCNSceneRender as the first parameter type is correct (and the fix).

from ios-samples.

chamons avatar chamons commented on June 8, 2024

I'll PR that fix shortly.

from ios-samples.

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.