Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This post has been wikified, any user with enough reputation can edit it.
avatar image
0
Question by FreddeFrallan · Feb 12, 2015 at 12:40 AM · networkingmultiplayerphotoncloudping

Switching from Phothon Cloud to Server?

Me and some friends have been working on a simple Multiplayer project. It's only a small project meant to entertain us. We are currently using the Photon Cloud but due to the high ping we would like to create our own server. Just for us to play with eachother. I'm assuming the best solution would be a LAN server if this is not possible just a normal internet server should provide faster connections right?

So the question is, how easy is it to switch beetwen using the Cloud to our own Server?

Is this even possible? Or would this mean that we haft to rewrite major parts of the game?

I apologize for the bad english, Best Regards!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by farrisarts · Feb 12, 2015 at 03:06 AM

I believe that photon allows you to run a server on your local machine. Then your friends can connect via you local ip. Otherwise you will need to either write networking yourself or pick another networking solution like Forge that supports local servers.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FreddeFrallan · Feb 12, 2015 at 07:04 AM 0
Share

Thanks for answering :)

Yes so i've heard also, and i do belive i have also been able to create one of these servers. ( Not sure ). But i'm currently unaware of how to host my actual Unity Application, or connect with a unity application.

Have been trying to find documentation & tutorials for this earlier but gave up, not being sure excatly what my server could do when i hosted it. But now i will surely get back to trying to figure it out :)

avatar image
1

Answer by tobiass · Feb 13, 2015 at 01:04 PM

There's no need to switch to another platform.

You can download the Photon Server SDK and run it in your local network.

The server is pre-built in the package and easy to run. Find the "PhotonControl.exe" to get a tiny traybar icon and menu. In it, the "LoadBalancing (MyCloud)" configuration is a pre-made replacement for the Photon Cloud. Before you start this as application or service, you need to set a "Game Server IP Config". Simply select an IP which is available for your clients in the lan.

Your clients obviously now need to be setup to connect to that machine running Photon. Find the "PhotonServerSettings" file and edit it to "Self Hosted" and your IP. The AppID of the Cloud is now obsolete.

That description is a bit short. Find more details are in our doc pages "Running Photon Server in 5 minutes" and "Initial Setup" for PUN.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Unity networking tutorial? 6 Answers

Photon: Storing map data for persistence - what's the best way do to this? 0 Answers

Problems/Errors With Photon Conversion.. [ScreenShot] 0 Answers

Photon multiplayer room make disappear in lobby when room is getting full 1 Answer

Unity multiplayer solutions: Photon, Unity Networking - what else and in what way is good? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges