Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

SendMessage: object Everyplay does not have receiver for function

Discussion in 'Unity Everyplay' started by ClaudiuChiorean, May 7, 2015.

  1. ClaudiuChiorean

    ClaudiuChiorean

    Joined:
    Feb 20, 2015
    Posts:
    6
    I've integrated everyplay in my project, but i get this messages on android:

    "SendMessage: object Everyplay does not have receiver for function .... "

    This happnes for every delegate, like:
    SendMessage: object Everyplay does not have receiver for function EveryplayReadyForRecording!
    SendMessage: object Everyplay does not have receiver for function EveryplayReadyForRecording!

    I also have the the fallowing plugins:
    Android native plugin
    unity ads
    photon
    facebook

    This is a portion of the log of my app:
    05-07 16:19:13.734: I/Unity(16624): [EveryplayManager] Awake
    05-07 16:19:13.734: I/Unity(16624): EveryplayManager:Awake() (at C:\Work\Some Monkeys\Projects\project01\Assets\Scripts\Everyplay\EveryplayManager.cs:43)
    05-07 16:19:14.284: I/Everyplay(16624): Everyplay SDK build: 1332
    05-07 16:19:14.284: D/dalvikvm(16624): Trying to load lib /data/app-lib/com.somemonkeys.project01-1/libeveryplay.so 0x43244460
    05-07 16:19:14.304: D/dalvikvm(16624): Added shared lib /data/app-lib/com.somemonkeys.project01-1/libeveryplay.so 0x43244460
    05-07 16:19:14.524: I/Everyplay(16624): com.everyplay.Everyplay.encoding.a.b() (line:-1) :: Multiple video codecs found for video/avc: [OMX.qcom.video.encoder.avc, OMX.google.h264.encoder]
    05-07 16:19:14.664: W/Everyplay(16624): com.everyplay.Everyplay.encoding.a.a() (line:-1) :: CodecProfileLevel unknown, falling to default
    05-07 16:19:14.674: I/Everyplay(16624): com.everyplay.Everyplay.encoding.a.b() (line:-1) :: Multiple video codecs found for video/mp4v-es: [OMX.qcom.video.encoder.mpeg4, OMX.google.mpeg4.encoder]
    05-07 16:19:14.814: I/Everyplay(16624): com.everyplay.Everyplay.encoding.a.b() (line:-1) :: Codec query took 312 ms
    05-07 16:19:14.864: W/Everyplay(16624): com.everyplay.Everyplay.communication.EveryplayNativeBridge.b() (line:-1) :: Calling "isRecordingSupported" failed, waiting device settings query to complete
    05-07 16:19:17.844: I/Everyplay(16624): com.everyplay.Everyplay.encoding.f.a() (line:-1) :: Initialized: type=0 codec=OMX.qcom.video.encoder.avc format={frame-rate=30, height=720, slice-height=720, color-format=2130708361, width=1280, bitrate=3870720, mime=video/avc, stride=1280, i-frame-interval=1}
    05-07 16:19:17.974: D/Unity(16624): SendMessage: object Everyplay does not have receiver for function EveryplayReadyForRecording!


    as far as i can tell everyplay is initializing ok, the problem is with the funtions that need to be called from java code back into c# for events.


    I've also tested everyplay in a clean project without any plugins and it works.
    Right now i don't have a clue why it does't work in this configuration.

    Any ideas?
     
  2. pmjo

    pmjo

    Unity Technologies

    Joined:
    Sep 17, 2013
    Posts:
    245
    It seems the native side of Everyplay loads fine but the native can't talk to the c# side of the Everyplay plugin. Everyplay will create a game object called "Everyplay" during initialization. Are you sure you have not named any game object in your scenes as "Everyplay" and the native messages go to the wrong Everyplay object?
     
    Baydogan likes this.
  3. ClaudiuChiorean

    ClaudiuChiorean

    Joined:
    Feb 20, 2015
    Posts:
    6
    Thanks, that was the problem. I had a button named "Everyplay" in the scene.