Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
avatar image
1
Question by fmessaoudi · Oct 24, 2016 at 01:39 PM · renderingserverconnectioncloudremote

Is there a package enabling remote Input and remote rendering ?

Hi there, I'm looking for package or a way to make something similar with Cloud gaming.

  • Remote Unity is the most similar one. However, this package is working only on the Editor Mode (so no control on the game setting) and the mobile phone is connected to the server over USB, wherein the latency is almost zero.

UNet, is good API for making client/server, wherein we spawn the the client avatar on the server, control this avatar through the server. however trying to spawn the environment on the server does not work for me.

In my case, I'm looking how to make a cloudlet gaming : a mobile phone connected over wifi to a server in near vicinity (which can be a laptop, desktop or a server). The mobile sends inputs to the server, which computes the game and streams back the frames to the mobile phone.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by RichC · Dec 05, 2016 at 05:52 PM

There is no asset that I am aware of. I am doing research and had to build a client application which listens for keyboard/mouse events and sends them across the network to a server, running Unity3D. The Unity3D application listens for the incoming commands (via UDP) and then simulates them. To simulate the commands, you can use something like Windows Input Simulator, or you can write your own (which I have done, partially). The next step is to capture the frame from Unity3D and send it over the network (using TCP) to your client application which displays it to the user.

The hardest part of it all is to read the incoming TCP data. As it is a stream, you must first send (from the server) the size of the "message", followed by the actual message.

Another thing which is difficult (which I have yet to solve completely), is getting the mouse movements to work correctly on Unity3D on the server.... because the commands are "simulated" Unity3D does not detect the mouse movements, and so you must hook into the User32.Dll and generate your commands... but it's not easy.

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 morshemesh · Mar 01, 2018 at 11:30 AM 0
Share

Hi, do you have those code samples by anyway on GitHub?

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

62 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity Cloud Computing / Teamviewer alike solution 1 Answer

connect EHOSTUNREACH - Error, trying to set up Unity Cloud Build 0 Answers

How to update game for happenings while player is away? 0 Answers

Can't connect to the Unity Package Manager local server 0 Answers

How to update addressables without building the whole apk in order to be valid? 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