Comments (8)
hey, thanks for the heads-up! On my TODO list, however if you or anyone else would like to submit a PR, we'd be more than welcome!
from mpssamples.
Came across the same issue. Would be nice to update, can't get it working at the moment
from mpssamples.
I think this was still not fixed?
Because I tried to run the UnityServer project and I got some errors from Mirror
from mpssamples.
@BenjaminKobjolke you say it doesn't work with the version of Mirror currently in the MpsSamples repo? I started to work on it but got sidetracked, if anyone can answer my question here, that would be really helpful. Thanks!
from mpssamples.
@BenjaminKobjolke you say it doesn't work with the version of Mirror currently in the MpsSamples repo? I started to work on it but got sidetracked, if anyone can answer my question here, that would be really helpful. Thanks!
I did not test your complete project.
I just wanted to try out prefab and the first step was to create a server and upload it to prefab.
Since I already have a project that uses mirror I tried to add the scripts from your repository to my project.
That's when I got the errors.
I then tried to downgrade my Mirror version by using the one from your repository.
But then I got errors in my scripts because my scripts already implement the latest functions of the newer Mirror version.
I tried the latest latest Mirror version from gitHub (v35.0.1) with your scripts,
from mpssamples.
@BenjaminKobjolke you say it doesn't work with the version of Mirror currently in the MpsSamples repo? I started to work on it but got sidetracked, if anyone can answer my question here, that would be really helpful. Thanks!
NetworkServer.RegisterHandler<ReceiveAuthenticateMessage>(OnReceiveAuthenticate);
public struct ReceiveAuthenticateMessage : NetworkMessage
{
public string PlayFabId;
}
private void OnReceiveAuthenticate(NetworkConnection arg1, ReceiveAuthenticateMessage arg2)
{
var conn = _connections.Find(c => c.ConnectionId == arg1.connectionId);
if (conn != null)
{
conn.PlayFabId = arg2.PlayFabId;
conn.IsAuthenticated = true;
OnPlayerAdded.Invoke(arg2.PlayFabId);
}
}
Edit: Mirror package from github, not from asset store.
https://github.com/vis2k/Mirror/releases
from mpssamples.
hey @GoToNightmare @BenjaminKobjolke @dominicmoret I just made #37, if you have time to take a look before merging, we'd really appreciate it :)
from mpssamples.
Merged, feel free to re-open if there are any issues, thank you all!
from mpssamples.
Related Issues (15)
- Unity Multiplayer Server's heartbeat vanishes HOT 1
- OnServerConnect is never called HOT 5
- Unable to use UDP (KCP) with playfab on localhost docker. HOT 3
- Unity Mirror in 2 projects? HOT 5
- Need to create Unreal Sample Instructions
- Remove unnecessary scenes from UnityMirror project HOT 1
- Connection timed out after not receiving any message for 10000ms. Disconnecting. HOT 6
- Most recent commit of Unity Client/Server is missing PlayFab SDK code HOT 1
- Async Operations are missing from UnitySDK HOT 5
- OnServerActive() causes the Playfab server to never enter an Active status. HOT 2
- Challenge in simulating multi-players HOT 2
- Getting GSDK not found error when trying to build Openarena HOT 8
- Invalid Invite for Discord Server HOT 1
- UNITYTLS_X509VERIFY_FATAL_ERROR on Linux server HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpssamples.