Author Topic: Player Movement  (Read 309 times)

smilinmike

  • Newbie
  • *
  • Posts: 4
    • View Profile
Player Movement
« on: June 11, 2021, 02:11:13 AM »
I read the installation doc and watched the install vid. When I run the game I am not able to move the character. I did receive a compile error at first. 

"Assets\PiratesOfVoxelPlay\Game\Scripts\NetworkManager\SimplePasswordAuthenticator.cs(13,14): error CS0534: 'SimplePasswordAuthenticator' does not implement inherited abstract member 'NetworkAuthenticator.OnClientAuthenticate()'"

I added the following code to the SimplePasswordAuthenticator.cs script to get it to compile.

    public override void OnClientAuthenticate()
    {
        throw new System.NotImplementedException();
    }

This is in Unity 2019.4.9.

When I look at the Game scenr while its running I don't see a Player Charater in the hierarchy.

Is anyone else having this issue? How can I get the game running.

I've tried running the regular Voxel Play demos and they all work fine.

smilinmike

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Player Movement
« Reply #1 on: June 11, 2021, 03:38:01 AM »
It looks like Mirror doesn't support 2019.4.9 (says 2019.4.20 in Package Manager) so I upgraded to 2019.4.28, but got the same results. Error in compiling the SimplePasswordAuthenticator.cs script.

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 7565
    • View Profile
Re: Player Movement
« Reply #2 on: June 11, 2021, 08:35:33 AM »
We're looking into the Mirror change, might be related.

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 7565
    • View Profile
Re: Player Movement
« Reply #3 on: June 11, 2021, 09:01:54 AM »
Please import latest beta (you now have access to it). Mirror 40.0 introduced breaking changes in the authenticator class. It should work fine now.

smilinmike

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Player Movement
« Reply #4 on: June 11, 2021, 07:03:20 PM »
Yes, I can confirm its working now after importing the new Beta build. Thanks for your help! :)

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 7565
    • View Profile
Re: Player Movement
« Reply #5 on: June 11, 2021, 07:06:05 PM »
Cool, thanks for confirming that.