Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Call function from wp8 ui thread

Discussion in 'Windows' started by vladrybak, Oct 24, 2013.

  1. vladrybak

    vladrybak

    Joined:
    Aug 30, 2013
    Posts:
    108
    In Windows Metro i can use Appcallbacks.instance.InvokeOnAppThread
    How can i do it in wp8?
    UnityPlayer.UnityApp.BeginInvoke(new UnityPlayer.Action(() => { my unity3d functions })); raise an error Access violation reading location
     
    Last edited: Oct 24, 2013
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,738
    Could you try isolating what function call causes such access violation? It's really not clear what you're doing in "my unity3d functions".