Search Unity

Question Cannot resolve symbol 'LobbyEventCallbacks'

Discussion in 'Lobby' started by darknside, Mar 29, 2023.

  1. darknside

    darknside

    Joined:
    May 4, 2021
    Posts:
    14
    I took a Sample from Unity and threw it into my game and for some reason does not find this method, although everything works fine in the original because of what can this be?

    upload_2023-3-29_3-20-20.png

    Original:

    upload_2023-3-29_3-33-2.png
     
  2. darknside

    darknside

    Joined:
    May 4, 2021
    Posts:
    14
    I also noticed that I can't find this variable in this file

    upload_2023-3-29_3-45-10.png
     
  3. MiTschMR

    MiTschMR

    Joined:
    Aug 28, 2018
    Posts:
    488
  4. darknside

    darknside

    Joined:
    May 4, 2021
    Posts:
    14
  5. UnityRalahHaddad

    UnityRalahHaddad

    Unity Technologies

    Joined:
    Feb 21, 2022
    Posts:
    10
    Hi darknside
    The Game Lobby Sample showcases a Beta feature in the Lobby service called the Lobby events, the readme of the sample explains how to use this feature

    When using the Events code in this sample, make sure your Editor [I]Project Settings > Player > Scripting Define Symbols[/I] include: UGS_BETA_LOBBY_EVENTS and UGS_LOBBY_EVENTS


    We are working on making this feature available without the need to define those Symbols, if you try out Lobby package version 1.1.0-pre.3 you should be able to use the code with defining the symbols.. can you let me know if you are still having problems with either of those solutions? and would be interesting to know which editor version and Lobby package version you are using.

    Thanks
     
    darknside likes this.
  6. darknside

    darknside

    Joined:
    May 4, 2021
    Posts:
    14
    Hello.

    I'm using 1.0.3 which goes right into the package manager

    upload_2023-3-31_3-23-39.png

    This is the message I keep getting when I press the Play button

    upload_2023-3-31_3-24-32.png

    I didn't figure out your demo how you create a lobby, when I create a lobby in my game I get an error

    upload_2023-3-31_3-25-48.png upload_2023-3-31_3-26-56.png
     
  7. darknside

    darknside

    Joined:
    May 4, 2021
    Posts:
    14
    Please help me figure it out
     
  8. darknside

    darknside

    Joined:
    May 4, 2021
    Posts:
    14
  9. BurberryC

    BurberryC

    Unity Technologies

    Joined:
    Jul 21, 2021
    Posts:
    1
    Lobby Beta Events depends on the Wire package. You'll need to add this package to your project.

    Add this line to your project at packages/manifest.json:
    "com.unity.services.wire": "1.1.1",