Coder Social home page Coder Social logo

mirror-multiplayer-tutorials's Introduction

Mirror-Multiplayer-Tutorials

Repo for my Mirror Multiplayer Tutorials

mirror-multiplayer-tutorials's People

Contributors

dapperdino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mirror-multiplayer-tutorials's Issues

Import Project

my unity is gonna crash and no fix, my unity editor version is 2019.3.4f1 but in project is 2019.3.5f1
so I need unity package of multiple scene with proper dependencies that is useful for us.

Problem chat on moblie.

Hi you.
I connect chat between pc and android, can't chat.. problem can't chat on android, help me, thank you.
I try project of you and have problem on when chat mobile, how to fix it.
Thank you.

This Project does not work

Hey Dapper Dino,

I am a big fan of your work.

Just to let you know this project no longer works due to mirror updating there scripts and moving things around.

which unity version to use ?

Hi there.

The tutorials are on 2019, but the unity files in the repo are on unity 2020. What should I do?
I'm having this error of "Can't add script component" but tried to open the scenes both on 2016 and 2020. I wonder if it's because of this version difference or not.

Thank you!

Mirror Message System Not working with Unity 2020.2 and the latest version of Mirror. Found a Fix.

public class Notification : MessageBase
{
public string content;
}

public class MessagesTest : MonoBehaviour
{
    [SerializeField] private TMP_Text notificationsText = null;

    private void Start()
    {
        if (!NetworkClient.active) { return; }

        NetworkClient.RegisterHandler<Notification>(OnNotification);
    }

    private void OnNotification(NetworkConnection conn, Notification msg)
    {
        notificationsText.text += $"\n{msg.content}";
    }
}

This had two errors, MessageBase became Deprecated, so needed to be changed to NetworkMessage.
Once it was changed to NetworkMessage, it had another error, "The type 'Notification' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'NetworkClient.RegisterHandler"
To fix that, I changed

public class Notification : MessageBase
{
public string content;
}
to
public struct Notification : MessageBase
{
public string content;
}

Where can I find UI?

I am trying to find the UI for the Lobby - Main Menu video but can't find it anywhere, please help.

Getting Scene Name

For some reason when the lobby script is getting the name of the scene provided by the user in the editor instead of giving the name is giving the path. (Unity 2019.4.11f1)

Bug in PlayerNameInput.cs When PlayerPrefs is Empty

In PlayerNameInput when PlayerPrefs(PlayerPrefsNameKey) is empty the 'Continue' button does not get disabled.

This is because of the initial return when PlayerPrefs.HasKey(PlayerPrefsNameKey) is false since it never reaches 'SetPlayerName()'

Request for instructive README.md

This repo would benefit massively from a README.md describing how to, in particular, set this project up. I get many PackageCache issues and tons of compilation errors. This project is probably great, just need to be able to open it!

Missing Namespaces like Steamworks and LobbyCreated_t

hello,

I just pulled so I can look at your example, as I am having issues when following your tutorial:
https://www.youtube.com/watch?v=Fx8efi2MNz0
I have to say though, BIG BIG thank you for your tutorial, it helps a lot to understand more on the network manager and Mirror... but when i go to pull the: https://github.com/DapperDino/Mirror-Multiplayer-Tutorials

I get the following errors:
on script MyNetworkManager.cs: the type or namespace 'SteamWorks' cannot be found

this is also same message but different name space:
LobbyCreated_t
GameLobbyJoinRequested_t
AvatarImageLoaded_t

not sure if I am missing additional cs files or classes etc.?

Getting compiler error while trying to run on iOS or Android

I am able to build this code on iOS and Android. But when I try to run it on the device, I am getting a compiler error on iOS which is given below,

No matching function for call to 'CharacterSelect_UserCode_CmdSelect_m67A05D641BA8DC26BFC6D9DE75A8B8EDAD2ED6B9'

If I comment this line, it works. But character selection doesn't work properly on the device.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.