Search Unity

Unity WebGL + Vue communication

Discussion in 'Web' started by ivanngoc, Sep 18, 2019.

  1. ivanngoc

    ivanngoc

    Joined:
    Nov 9, 2018
    Posts:
    9
    Hi, Everyone. I have gotten stuck in using Unity WebGL with Vue js. Normally i call Application.ExternallCall and gameInstance.SendMessage() to exchange the data. But every functions call from Vue throw the exceptions. Same to externall call. Functions called from Unity cannot be found. What should i do to transmit and recieve data from/to Untity/VueJS?
    P.S. I appologize for my bad English.
     
  2. ivanngoc

    ivanngoc

    Joined:
    Nov 9, 2018
    Posts:
    9
  3. cloudy_day

    cloudy_day

    Joined:
    Oct 18, 2019
    Posts:
    1
    I have the same problem! Did you find out how to exchange data from unity to vue js?
     
  4. jukka_j

    jukka_j

    Unity Technologies

    Joined:
    May 4, 2018
    Posts:
    953
    Not really familiar with Vue.js, a bit unsure if there may be something special to consider there. Though it may help to post some concrete snippets of code to illustrate what you have attempted and what's not working, along with the actual errors you are getting - then perhaps someone might be able to spot what is the error that's happening.