Simulate your Game with Device Simulator in Unity! (Tutorial)
Ойындар
Using the Device Simulator in Unity, you can now view, simulate and change the behavior of your game in various mobile devices! Device Simulator aims to give an accurate image of how an app will look on a device.
Game content from the title Neonverse by Pixel Reign and Tamasenco
Learn more about Device Simulator and its configurations here!
on.unity.com/2Pf0aUo
Пікірлер: 352
*Poll time!* Are you making a mobile game? Let us know in the comments. 👀
@Voidism-is-swaggers
4 жыл бұрын
Not yet
@akshayazariah
4 жыл бұрын
Yes, but I'm using MonoGame lol.
@PowerChopper
4 жыл бұрын
Been working on my own mobile RTS for 2 years now :)
@mithunmmurthy1473
4 жыл бұрын
Yes need more help unity hope for support from anyone 😕😕🙃
@siddharthmishra4873
4 жыл бұрын
Yes
For those using Unity v2021... it's already built in Select the "Game" tab (to view the game view), and on top-left, switch from "Game" to "simulator"
@brunomartins4613
3 жыл бұрын
thanks
@tonytran07
3 жыл бұрын
@@brunomartins4613 You're welcome! I'm awesome!
@versatilecontent4244
2 жыл бұрын
@@tonytran07 Thanks from my heart
@momozaki4453
2 жыл бұрын
THANK YOU!!
@tnkspecjvive
2 жыл бұрын
Thank you!
We're creating for mobile. This is huge for us. Please continue development of this feature to make it as awesome as possible. Accurate hardware emulation would be huge.
@gambitdevs1234
4 жыл бұрын
Agree 100% with this but even with all done so far it's realllyyyy helpful
@Chris_t0
4 жыл бұрын
Can you please tell me how this is helps you at all because it looks like a total mess to use in a real project
@gambitdevs1234
4 жыл бұрын
@@Chris_t0 It helps to see how your game will look on real devices, and has a bunch preset. I think the big thing for me is it shows the safe zones
@Chris_t0
4 жыл бұрын
@@gambitdevs1234 There was already functionality to input a resolution and see how it looks on the device. I haven't looked into what safe zones does but maybe that is usable
@gambitdevs1234
4 жыл бұрын
@@Chris_t0 I know it has, but it's just easier with this since its all put together for you and yeah safe zones shows where the user can actually see like it accounts for the tab on the iphone X etc
For those that can't find this package: You have to check "Enable Preview Packages" in the Package Manager settings (the gear icon)
@lunwingkit
2 жыл бұрын
Thanks this helped a lot and saved my time
@beastmasterbg
2 жыл бұрын
still doesn't work
@coolsachin2737
Жыл бұрын
thanks
@merlfgames5606
Жыл бұрын
Hello, pls in my 2021 version, i can't find the resolution settings... Pls can you tell me why?
This feature makes game testing for phones easy. Great work and thanks Unity for understanding needs of you mobile devs.
I have been dreaming about this for a while now! Thank you guys, You are the best!
This is a real game-changer. Thanks, Unity, you are the best!
Such a great tool! Saves tons of time and huge help preventing UI issues. Amazing work Unity team!
Finally, after all these years of waiting
This will be very useful. I can't wait to try it out!
Really incredible stuff. Thank you guys
Congrats for 1Million 💕
Thanks, this helped for taking accurate screenshots.
Awesome! Please also add the option to view on multiple devices at once. Thanks
This is going to help me so much!
you just saved me from having to install android studio
@vitkozel
4 жыл бұрын
True LULW
@wildlonewolf445
3 жыл бұрын
it's just a simulator right?still we need android studio...can anyone tell who used this update?
@joeyzhou8273
3 жыл бұрын
Wild LoneWolf why you need android studio when you can just download & use android sdk?
@mariri_
3 жыл бұрын
@@joeyzhou8273 because unity's Android sdk doesn't always work, many people experience this problem once they try to build the game for android
@mosopiagamedev7309
3 жыл бұрын
@@mariri_ Nop it actually. all you need to do is install Android SDK through Unity Hub. It will install everything you need.
This looks amazing, and I'm shocked I've never seen this before now. I want to know more about the "On Low Memory".
Thankyou so much unity, saved me hours ( :
unity adds 100+ features and usually few of them are gold, this is one of them
That's gooood. Also i think it would be great if touchscreen input could be simulated in editor
What about a simple CRUD to save the JSON, when adding custom devices, instead of creating it manually?
This is such a great tool. WOw perfect
thank you so much for this feature ..it definitely gone save me lot of time 😊😊
Finally!! Thanks!
This will really help with release anxiety!
This is awesome, thx
This is SUPER! I really am looking forward to this. Please support this feature, is very useful.
Simulating the performance of the device would be awesome...
Thats udderly awesome
Awesome! Thanks!
Great very helpfull, thank you
This is amazing
SystemInfoSimulation.cs is a real mess. I keep getting the error "Could not pick GraphicsDeviceType, the game would fail to launch" even with the default settings, copied from the complete device in the manual. And with all those codes from line 92 to 148 it's impossible to know which one causes the error message hence it can be any of those. And I can't even add a debug syntax to see if everything else works.
Now this is cool!
0:32 Yea, like using Unity Remote... which doesn't work well AT ALL! XP
@Chris_t0
4 жыл бұрын
This is nothing like unity remote
Is location and camera simulation in the planned feature?
AWESOME, AWESOME, AWESOME!!
HOLY CRAP THANK YOU!!!! I JUST RELEASED MY LATEST IOS GAME AND NOW IMPROVING IT IS GONNA BE SO MUCH EASIER
@Sea-zu4bj
4 жыл бұрын
What’s your game called?
This is amazing, thanks!
Controls don't seem to work (cannot play the game in this mode), is this intended just for the UI controls? Can you switch between scenes?
I was waiting for this
Imagine not being able to develop for Android with 2019.3+.
This update will make mobile games development on Unity so much easier 🙏
Will this work with Google Play Services? That's a cumbersome build and run process to test changes..
Looks awesome! Will it also simulate sensor availability? Ie will SystemInfo.supportsGyroscope return false wheb simulating a device with no gyro?
Thanks!!!
Very cool and very useful!
This looks great - I would have definitely used it for my mobile game Turdbots. Thanks for adding it!
@riddhiameser1589
4 жыл бұрын
I love that game! ^
Pls how do i get the settings to set the resolutions? Because in my 2021 unity version, there's no settings to change custom resolution.. Pls help
Hey, so if I were to use this simulator to adjust my game with a resolution of 2400x1080, would that affect another resolution of 1920x1080. Like how would that work exactly.
Would this support native UI elements such as a numberpad?
Is there a way to simulate the touchscreen functions with a tablet with touch support?
Me hearing this just after upgrading to 2019.4 YESSSSSS!!!
@sksnike2343
3 жыл бұрын
u need to pay google play to upload games tho :(
@scott_41
3 жыл бұрын
@@sksnike2343 Publishing on Google Play is free, you just have to pay once to create a developer account, which is $25 (was £15 for me).
Hi I cannot seem to access the screen settings of my simulations. I only have Applications Settings active
How about Build and Run? My device, is set as default and I don't have an android phone. When I build and run Unity wants me to plug in a phone.
Does this simulator allow you to test mobile controls like touch screen?
Hi...Thanks, but It is no easy the ítem about: sandbox environment. The video isn't explicit about that, and the information on Unity is very confuse
Great!!
Do you know if there is a way to simulate Wireless Disconnect messages?
Invaluable feature, though seems like something you'd expect Unity (or any engine) to have years ago? Anyway, thank you!
@MiTheMer
4 жыл бұрын
Unity's primary target hardly are mobile devices, so that had to be added over time, I suppose.
Awesome
Sounds good, looks a lot like the similar feature on Android Studio
Can we also test the performance of the game for different processors with it.
How do you change the resolution by clicking somewhere right of the screen at 0:25 ?
@Luckysury333
3 жыл бұрын
bruh, you never heard of video editing?
Can i download the spaceship project shown in this video?
a checkbox turn notch on and off will be nice
How do you get it in 2020.1?
Awesome feature, thank you! I'll be using it in the next few days :D
it´s not available for 2019 unity versions?
Nice. If that would include VR-headsets it would be also more useful.
@unity
3 жыл бұрын
Hey there! Thank you for our feedback. The Device Simulation team say that at the moment, Device Simulator “simulates” phones, which is relitively easy, because hardware is pretty straightforward and especially because input is easily replicatable in editor, like mouse being used to replicate touch. With VR there are a lot more moving parts (literally) like head position, controllers position, multiple buttons on controllers etc. which would be hard to replicate in meaningful way in editor with keyboard and mouse. While this may not fit inside Device Simulator, our XR team made note that this could be something that they can explore doing so at the very least, your request may be something another team at Unity could potentially do.
@cyber_habanero
3 жыл бұрын
@@unity Thank you for your replay. Yes, it would straighten the development process much, not to switch always back into headsets. I know there is Unity Mock HMD, in XR-plugin which is a bit help anyway. Thanks for that and your tool!
Dear Unity, how to use "back key" when using simulator?
This is great! Does the little neon sample UI come with it?
Why does the mobile preview have that banding effect though. Is it part of the game's UX?
Yes!
👍👍👍👍👍
When will we be able to connect to Google Play Services without putting a build on an actual phone? I would expect that functionality in this "device simulator"
@kahhintan7877
4 жыл бұрын
There is something called Bluestacks ,check that out .
@tamla9875
4 жыл бұрын
@@kahhintan7877 can it connect with Unity?
@riddheshzaveri8103
4 жыл бұрын
@@tamla9875 Bluestacks is an android simulator for PC. You can install builds inside it and test just like android devices.
@leemanhin3136
4 жыл бұрын
@@kahhintan7877 the point of the simulator is to stop wasting time on building and testing functionality without wasting a couple of hours exporting the apk. Stop being a smartass.
@kahhintan7877
4 жыл бұрын
@@leemanhin3136 Sir do you read what this discussion is about ?
Hey @Unity, Could you maybe post an example device directory JSON file as text please? i can't really find an example online. The device simulator is amazing otherwise, it's because it's so new there isn't really an example yet.
@unitybuddy527
2 жыл бұрын
Hi Timothy, I made a video in which I show how to integrate custom devices. It's in German but maybe it can help you anyway👍
Cool
I am making a mobile game definitely going to use this!
i always feel very very sad, when looking up and cant find it. so i go to package manager and i cant choose "all packages" anymore. only like "unity registry" whatever....and i cant find a device simulator?!?!
@unitybuddy527
2 жыл бұрын
Hi, turn on Preview packages. I made a video in which I show how to integrate custom devices. It's in German but maybe it can help you anyway👍
@FortbloxNET
2 жыл бұрын
@@unitybuddy527 thank you. :-) my post was 7 months ago. i figured it out myself how to do it. unity has a huuuuuuuuuuuge problem, when they change things with every version and all older tutorials are obsolete or don't explain how to get this and that. :-/
The most usefull part of this, would be to allow us to test third services like google play games, facebook, firebase,etc... this is the real time consuming for mobile game dev
Incredibly useful and truly something other engines lack. Simulating a mobile device I've used from time to time in Chrome when testing webgl content for mobile. This feels similar. BUT it probably doesn't simulate all the gpu peculiarities of a mobile device does it?
Sweet
now something where i can simulate my shaders in if they are correct or not
Cant you just use the unity remote?
How to do this in version 2021.3.13f1 Can't find none of these in my version.
@merlfgames5606
Жыл бұрын
Exactly my thoughts, am using 2021 version and there's no settings😭
Very cool
hey! we defently need the AR Remote App or upgrade Unity Remote 5 so we can test our ar apps, without building it every time !
Hehe, the Android Emulator didn't even work right compared to this. Thanks for sharing!
i´m developing an ar-app and i still have to make a build everytime i change something...
@prateekpanwar646
4 жыл бұрын
Have you tried UnityRemote? It works on normal game IDK for AR but worth shot
@Free4Game
4 жыл бұрын
@@prateekpanwar646 yes i tried. It doesnt work. And thats really annoying. People online have the same Problem, for some it does work but for the most it doesnt. Unity should fix it.
Such a life saver
great for indie developers:))
@Chris_t0
4 жыл бұрын
How lol, the only people this would be useful for is big studios who actually have manpower to cater seperate builds to seperate phone models. This would be a nightmare to use as an indie developer.
@toastytashe
4 жыл бұрын
Chris -0 not really, ally of indies make mobile games and this is like a dream come true for them
@Chris_t0
4 жыл бұрын
@@toastytashe This is certainly not a dream come true, especially for indies. What feature did this add that you think is useful I'd love to know
When i try to build and export my game to a mobile device it says gradle build failed........what is the problem
@hardik1343
4 жыл бұрын
Rename the folder C:\users\"your username"\.gradle folder and try , this worked for me
This sounds good
Thanks Unity
UE 5 - R.I.P.
finally
Thank you for this!!!!
Why is this in my recommended and why am i watching this? I don't even have Unity, yet alone develop games!
Does it work for AR?