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

  • @unity
    @unity4 жыл бұрын

    *Poll time!* Are you making a mobile game? Let us know in the comments. 👀

  • @Voidism-is-swaggers

    @Voidism-is-swaggers

    4 жыл бұрын

    Not yet

  • @akshayazariah

    @akshayazariah

    4 жыл бұрын

    Yes, but I'm using MonoGame lol.

  • @PowerChopper

    @PowerChopper

    4 жыл бұрын

    Been working on my own mobile RTS for 2 years now :)

  • @mithunmmurthy1473

    @mithunmmurthy1473

    4 жыл бұрын

    Yes need more help unity hope for support from anyone 😕😕🙃

  • @siddharthmishra4873

    @siddharthmishra4873

    4 жыл бұрын

    Yes

  • @tonytran07
    @tonytran073 жыл бұрын

    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

    @brunomartins4613

    3 жыл бұрын

    thanks

  • @tonytran07

    @tonytran07

    3 жыл бұрын

    @@brunomartins4613 You're welcome! I'm awesome!

  • @versatilecontent4244

    @versatilecontent4244

    2 жыл бұрын

    @@tonytran07 Thanks from my heart

  • @momozaki4453

    @momozaki4453

    2 жыл бұрын

    THANK YOU!!

  • @tnkspecjvive

    @tnkspecjvive

    2 жыл бұрын

    Thank you!

  • @AmNothi
    @AmNothi4 жыл бұрын

    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

    @gambitdevs1234

    4 жыл бұрын

    Agree 100% with this but even with all done so far it's realllyyyy helpful

  • @Chris_t0

    @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

    @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

    @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

    @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

  • @Davis_Bogdanovs
    @Davis_Bogdanovs2 жыл бұрын

    For those that can't find this package: You have to check "Enable Preview Packages" in the Package Manager settings (the gear icon)

  • @lunwingkit

    @lunwingkit

    2 жыл бұрын

    Thanks this helped a lot and saved my time

  • @beastmasterbg

    @beastmasterbg

    2 жыл бұрын

    still doesn't work

  • @coolsachin2737

    @coolsachin2737

    Жыл бұрын

    thanks

  • @merlfgames5606

    @merlfgames5606

    Жыл бұрын

    Hello, pls in my 2021 version, i can't find the resolution settings... Pls can you tell me why?

  • @akshay_rc
    @akshay_rc4 жыл бұрын

    This feature makes game testing for phones easy. Great work and thanks Unity for understanding needs of you mobile devs.

  • @molecular_master
    @molecular_master4 жыл бұрын

    I have been dreaming about this for a while now! Thank you guys, You are the best!

  • @LoOnarForge
    @LoOnarForge3 жыл бұрын

    This is a real game-changer. Thanks, Unity, you are the best!

  • @telamont2477
    @telamont24773 жыл бұрын

    Such a great tool! Saves tons of time and huge help preventing UI issues. Amazing work Unity team!

  • @joeyzhou8273
    @joeyzhou82734 жыл бұрын

    Finally, after all these years of waiting

  • @sparttenomega45
    @sparttenomega453 жыл бұрын

    This will be very useful. I can't wait to try it out!

  • @paulprovan1119
    @paulprovan11192 жыл бұрын

    Really incredible stuff. Thank you guys

  • @GameOnBudget
    @GameOnBudget3 жыл бұрын

    Congrats for 1Million 💕

  • @21kHzBANK21kHZ
    @21kHzBANK21kHZ7 ай бұрын

    Thanks, this helped for taking accurate screenshots.

  • @RR-kz4hd
    @RR-kz4hd4 жыл бұрын

    Awesome! Please also add the option to view on multiple devices at once. Thanks

  • @dailydoseofhalal6767
    @dailydoseofhalal67674 жыл бұрын

    This is going to help me so much!

  • @dimitris_official
    @dimitris_official4 жыл бұрын

    you just saved me from having to install android studio

  • @vitkozel

    @vitkozel

    4 жыл бұрын

    True LULW

  • @wildlonewolf445

    @wildlonewolf445

    3 жыл бұрын

    it's just a simulator right?still we need android studio...can anyone tell who used this update?

  • @joeyzhou8273

    @joeyzhou8273

    3 жыл бұрын

    Wild LoneWolf why you need android studio when you can just download & use android sdk?

  • @mariri_

    @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

    @mosopiagamedev7309

    3 жыл бұрын

    @@mariri_ Nop it actually. all you need to do is install Android SDK through Unity Hub. It will install everything you need.

  • @Jason-wh3mq
    @Jason-wh3mq3 жыл бұрын

    This looks amazing, and I'm shocked I've never seen this before now. I want to know more about the "On Low Memory".

  • @infinitirp
    @infinitirp2 жыл бұрын

    Thankyou so much unity, saved me hours ( :

  • @muhammadfaisalnazir1960
    @muhammadfaisalnazir19604 жыл бұрын

    unity adds 100+ features and usually few of them are gold, this is one of them

  • @misli_kraba
    @misli_kraba4 жыл бұрын

    That's gooood. Also i think it would be great if touchscreen input could be simulated in editor

  • @vmarques
    @vmarques4 жыл бұрын

    What about a simple CRUD to save the JSON, when adding custom devices, instead of creating it manually?

  • @moosesnWoop
    @moosesnWoop3 жыл бұрын

    This is such a great tool. WOw perfect

  • @pranzzzz720
    @pranzzzz7204 жыл бұрын

    thank you so much for this feature ..it definitely gone save me lot of time 😊😊

  • @dmytrokrepkikh4644
    @dmytrokrepkikh46444 жыл бұрын

    Finally!! Thanks!

  • @deepshipalpha3861
    @deepshipalpha38613 жыл бұрын

    This will really help with release anxiety!

  • @muhammedusenmez7770
    @muhammedusenmez77704 жыл бұрын

    This is awesome, thx

  • @tiziano77
    @tiziano774 жыл бұрын

    This is SUPER! I really am looking forward to this. Please support this feature, is very useful.

  • @gridvid
    @gridvid3 жыл бұрын

    Simulating the performance of the device would be awesome...

  • @morii708
    @morii7084 жыл бұрын

    Thats udderly awesome

  • @SergeyBevzuk
    @SergeyBevzuk4 жыл бұрын

    Awesome! Thanks!

  • @zakilenck9759
    @zakilenck97594 жыл бұрын

    Great very helpfull, thank you

  • @Qoatl
    @Qoatl3 жыл бұрын

    This is amazing

  • @SwedishTrollo
    @SwedishTrollo3 жыл бұрын

    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.

  • @KHos73
    @KHos734 жыл бұрын

    Now this is cool!

  • @ZoidbergForPresident
    @ZoidbergForPresident4 жыл бұрын

    0:32 Yea, like using Unity Remote... which doesn't work well AT ALL! XP

  • @Chris_t0

    @Chris_t0

    4 жыл бұрын

    This is nothing like unity remote

  • @horeaper
    @horeaper4 жыл бұрын

    Is location and camera simulation in the planned feature?

  • @Pedro5antos_
    @Pedro5antos_3 жыл бұрын

    AWESOME, AWESOME, AWESOME!!

  • @noahr607
    @noahr6074 жыл бұрын

    HOLY CRAP THANK YOU!!!! I JUST RELEASED MY LATEST IOS GAME AND NOW IMPROVING IT IS GONNA BE SO MUCH EASIER

  • @Sea-zu4bj

    @Sea-zu4bj

    4 жыл бұрын

    What’s your game called?

  • @Jukaorena
    @Jukaorena4 жыл бұрын

    This is amazing, thanks!

  • @markomilenkovic2714
    @markomilenkovic27143 жыл бұрын

    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?

  • @narainkarthic.n.s7835
    @narainkarthic.n.s78354 жыл бұрын

    I was waiting for this

  • @iteratedofficial
    @iteratedofficial4 жыл бұрын

    Imagine not being able to develop for Android with 2019.3+.

  • @ariyabayat5292
    @ariyabayat52924 жыл бұрын

    This update will make mobile games development on Unity so much easier 🙏

  • @moosesnWoop
    @moosesnWoop3 жыл бұрын

    Will this work with Google Play Services? That's a cumbersome build and run process to test changes..

  • @SaisBlade
    @SaisBlade3 жыл бұрын

    Looks awesome! Will it also simulate sensor availability? Ie will SystemInfo.supportsGyroscope return false wheb simulating a device with no gyro?

  • @TheNei
    @TheNei3 жыл бұрын

    Thanks!!!

  • @WerIstWieJesus
    @WerIstWieJesus4 жыл бұрын

    Very cool and very useful!

  • @framenotperfect9081
    @framenotperfect90814 жыл бұрын

    This looks great - I would have definitely used it for my mobile game Turdbots. Thanks for adding it!

  • @riddhiameser1589

    @riddhiameser1589

    4 жыл бұрын

    I love that game! ^

  • @merlfgames5606
    @merlfgames5606 Жыл бұрын

    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

  • @duwaynerowe8151
    @duwaynerowe8151 Жыл бұрын

    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.

  • @aarnavsanghvi740
    @aarnavsanghvi7404 жыл бұрын

    Would this support native UI elements such as a numberpad?

  • @AlteraLin
    @AlteraLin Жыл бұрын

    Is there a way to simulate the touchscreen functions with a tablet with touch support?

  • @mghq-mobilegamerzhq2533
    @mghq-mobilegamerzhq25334 жыл бұрын

    Me hearing this just after upgrading to 2019.4 YESSSSSS!!!

  • @sksnike2343

    @sksnike2343

    3 жыл бұрын

    u need to pay google play to upload games tho :(

  • @scott_41

    @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).

  • @Jovanghan
    @Jovanghan3 жыл бұрын

    Hi I cannot seem to access the screen settings of my simulations. I only have Applications Settings active

  • @joshuageorge7246
    @joshuageorge72463 жыл бұрын

    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.

  • @silasnicol
    @silasnicol3 жыл бұрын

    Does this simulator allow you to test mobile controls like touch screen?

  • @futuroal
    @futuroal3 жыл бұрын

    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

  • @SomeOne-rw6gz
    @SomeOne-rw6gz4 жыл бұрын

    Great!!

  • @sandiablo360
    @sandiablo3602 жыл бұрын

    Do you know if there is a way to simulate Wireless Disconnect messages?

  • @bleedthesecolours
    @bleedthesecolours4 жыл бұрын

    Invaluable feature, though seems like something you'd expect Unity (or any engine) to have years ago? Anyway, thank you!

  • @MiTheMer

    @MiTheMer

    4 жыл бұрын

    Unity's primary target hardly are mobile devices, so that had to be added over time, I suppose.

  • @na.5010
    @na.50104 жыл бұрын

    Awesome

  • @RealMuthaF
    @RealMuthaF4 жыл бұрын

    Sounds good, looks a lot like the similar feature on Android Studio

  • @abcdeeeeff
    @abcdeeeeff2 жыл бұрын

    Can we also test the performance of the game for different processors with it.

  • @mohammadazeem7228
    @mohammadazeem72283 жыл бұрын

    How do you change the resolution by clicking somewhere right of the screen at 0:25 ?

  • @Luckysury333

    @Luckysury333

    3 жыл бұрын

    bruh, you never heard of video editing?

  • @nareshbisht7620
    @nareshbisht76202 жыл бұрын

    Can i download the spaceship project shown in this video?

  • @777redhood
    @777redhood3 жыл бұрын

    a checkbox turn notch on and off will be nice

  • @thatomogale9803
    @thatomogale98033 жыл бұрын

    How do you get it in 2020.1?

  • @xanatosclark1489
    @xanatosclark14894 жыл бұрын

    Awesome feature, thank you! I'll be using it in the next few days :D

  • @Galder6
    @Galder62 жыл бұрын

    it´s not available for 2019 unity versions?

  • @cyber_habanero
    @cyber_habanero3 жыл бұрын

    Nice. If that would include VR-headsets it would be also more useful.

  • @unity

    @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

    @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!

  • @Huy.HoangNguyen
    @Huy.HoangNguyen Жыл бұрын

    Dear Unity, how to use "back key" when using simulator?

  • @cyberpunkdarren
    @cyberpunkdarren4 жыл бұрын

    This is great! Does the little neon sample UI come with it?

  • @advait35
    @advait354 жыл бұрын

    Why does the mobile preview have that banding effect though. Is it part of the game's UX?

  • @SoaringSimulator
    @SoaringSimulator3 жыл бұрын

    Yes!

  • @alih84411
    @alih844114 жыл бұрын

    👍👍👍👍👍

  • @joshtucker2333
    @joshtucker23334 жыл бұрын

    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

    @kahhintan7877

    4 жыл бұрын

    There is something called Bluestacks ,check that out .

  • @tamla9875

    @tamla9875

    4 жыл бұрын

    @@kahhintan7877 can it connect with Unity?

  • @riddheshzaveri8103

    @riddheshzaveri8103

    4 жыл бұрын

    @@tamla9875 Bluestacks is an android simulator for PC. You can install builds inside it and test just like android devices.

  • @leemanhin3136

    @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

    @kahhintan7877

    4 жыл бұрын

    @@leemanhin3136 Sir do you read what this discussion is about ?

  • @timothyappel2205
    @timothyappel22053 жыл бұрын

    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

    @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👍

  • @dennisgonzales9521
    @dennisgonzales95213 жыл бұрын

    Cool

  • @thekillerduck6977
    @thekillerduck69774 жыл бұрын

    I am making a mobile game definitely going to use this!

  • @FortbloxNET
    @FortbloxNET3 жыл бұрын

    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

    @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

    @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. :-/

  • @clevereengamingartstudio6527
    @clevereengamingartstudio65273 жыл бұрын

    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

  • @fleity
    @fleity4 жыл бұрын

    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?

  • @DeepfriedChips
    @DeepfriedChips4 жыл бұрын

    Sweet

  • @kamillatocha
    @kamillatocha2 жыл бұрын

    now something where i can simulate my shaders in if they are correct or not

  • @CodeRipple
    @CodeRipple4 жыл бұрын

    Cant you just use the unity remote?

  • @karlaliivm
    @karlaliivm Жыл бұрын

    How to do this in version 2021.3.13f1 Can't find none of these in my version.

  • @merlfgames5606

    @merlfgames5606

    Жыл бұрын

    Exactly my thoughts, am using 2021 version and there's no settings😭

  • @Voidism-is-swaggers
    @Voidism-is-swaggers4 жыл бұрын

    Very cool

  • @CrashBunnny
    @CrashBunnny4 жыл бұрын

    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 !

  • @samouflage99
    @samouflage992 жыл бұрын

    Hehe, the Android Emulator didn't even work right compared to this. Thanks for sharing!

  • @Free4Game
    @Free4Game4 жыл бұрын

    i´m developing an ar-app and i still have to make a build everytime i change something...

  • @prateekpanwar646

    @prateekpanwar646

    4 жыл бұрын

    Have you tried UnityRemote? It works on normal game IDK for AR but worth shot

  • @Free4Game

    @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.

  • @jayanpaliwal6889
    @jayanpaliwal68894 жыл бұрын

    Such a life saver

  • @arashsh4513
    @arashsh45134 жыл бұрын

    great for indie developers:))

  • @Chris_t0

    @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

    @toastytashe

    4 жыл бұрын

    Chris -0 not really, ally of indies make mobile games and this is like a dream come true for them

  • @Chris_t0

    @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

  • @gameplan5295
    @gameplan52954 жыл бұрын

    When i try to build and export my game to a mobile device it says gradle build failed........what is the problem

  • @hardik1343

    @hardik1343

    4 жыл бұрын

    Rename the folder C:\users\"your username"\.gradle folder and try , this worked for me

  • @GeniusK
    @GeniusK4 жыл бұрын

    This sounds good

  • @Ashik787
    @Ashik7873 жыл бұрын

    Thanks Unity

  • @deepfakescoverychannel6710
    @deepfakescoverychannel67104 жыл бұрын

    UE 5 - R.I.P.

  • @stir_frycook_oo7661
    @stir_frycook_oo76614 жыл бұрын

    finally

  • @davidrosemond9012
    @davidrosemond90124 жыл бұрын

    Thank you for this!!!!

  • @r4isen2019
    @r4isen20193 жыл бұрын

    Why is this in my recommended and why am i watching this? I don't even have Unity, yet alone develop games!

  • @alexh.4644
    @alexh.46444 жыл бұрын

    Does it work for AR?

Келесі