• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by oceanzerg · Apr 19, 2012 at 03:00 PM · iosiphonemonoaotjit

ios: 2 function calls on the same interface, one working... the other function call doing literally nothing

Hi,

we have a big problem when using mono on IOs.

We have an Interface

 public Interface Inter
 {
  void CallA(int x);
  void CallB(short x);
 }.

We have a mono exe on IOS that implements this interface. The Interface is part of a dll. when the Dll calls

  interface.CallA(0)

the call is received correctly.

when it calls

  interface.CallB(0)

Nothing happens.

We have log output before and after each calls... the function is called but nothing happens.

If we compile the dll code in the same exe everything works.

on all other platforms ( mac, windows) everything works. It even works inside the IPhone Simulator....

We disabled code stripping and eliminate dead code in xcode.

We would be very happy if anyone has an idea...

I guess the issue is an AOT or JIT problem.

We were allready talking with some monotouch guys.. they said we should try to disable llvm .. this is not possible in unity, is it?

Thanks in advance...

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

AOT Runtime Problem: Variable of type IMyInterface changes type to String(impossible..??) 0 Answers

My Generic function using LINQ(orderBy thenBy)Not working on IOS 1 Answer

Using System.Reflection with iOS 2 Answers

ExecutionEngineException : JIT/AOT error when adding to delegate 1 Answer

Fixing AOT errors in iOS with BinaryWriter 2 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges