Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Official Feedback Request | Unity's New Mobile Runner Template

Discussion in 'Unity Ads & User Acquisition' started by AliciaRaisinghani, Nov 7, 2022.

  1. AliciaRaisinghani

    AliciaRaisinghani

    Unity Technologies

    Joined:
    Nov 4, 2022
    Posts:
    2

    Our team at Unity has developed a template to serve as a starting point for a shippable mobile game.

    While previous Unity templates have been designed as learning tools or showcases, our new mobile Runner template is designed to help our developers focus on creating differentiated, high-quality games that can ship.

    We designed this template to accelerate the game development process by providing end-to-end runner game mechanics, custom presets, and a Level Editor. The template also brings together Unity’s products, including guidance for the Unity Ads SDK integration, Asset Store, and In-Editor-Tutorials.

    We would love to hear from you as we shape the development of this template and our future efforts. Below are a few areas we’d love to know your thoughts on in this thread, but are open to other feedback or suggestions as well.
    • Goals
      • What are your goals for using a Template like this?
      • How many games do you intend to create from the template?
      • What other genres would you like to have templates for?
    • What’s working
      • What are the ways that the Template itself is helping you?
      • Did the template save you a meaningful amount of time around development?
      • What are you freed up to focus on when the end-to-end game mechanics are included in the template?
    • Improving your experience
      • What more would you need included in the Template and Tutorial?
    • Publishing
      • Do you intend to submit the game you’ve created to a publisher?
    To navigate to the Runner Template, please ensure you're on Editor version 2021.3.4f1 or later.
    You can learn more about the new Runner template here.
    Access Unity docs on getting started with project templates in the Unity Hub here.
     

    Attached Files:

    Last edited: Nov 15, 2022
  2. sevenfivel

    sevenfivel

    Joined:
    Mar 25, 2017
    Posts:
    5
    The Runner Template seems to only be available for the LTS version of the Editor. If that's how it's supposed to be, you really should make that clear both here and in the documentation.
     
    MomoZaki likes this.
  3. Cartierwells

    Cartierwells

    Joined:
    Mar 7, 2017
    Posts:
    1
    I have an LTS version of the editor (2020.3.2f1) but still can't find the template in the hub
     
  4. sevenfivel

    sevenfivel

    Joined:
    Mar 25, 2017
    Posts:
    5
    Probably needs to be the latest LTS. (I have 2021.3.13f1.)
     
    SrNull likes this.
  5. Andy-Touch

    Andy-Touch

    A Moon Shaped Bool Unity Legend

    Joined:
    May 5, 2014
    Posts:
    1,325
    Hello! Thanks for the free project! :D

    Ive downloaded the project and had a small poke around in it. I need to poke it some more before having more thorough thoughts and feedback on the technical details.

    My main questions so far are:
    • Why this type of genre for a template? Studios have been building Runner games in Unity for over a decade and its not a particularly complex genre to tackle with plenty of resources already on how to build things like this. Aside from the Services like Ads, Analytics and Cloud Build, Unity hasn't shipped anything in the past 10 years that would greatly benefit this genre so im confused why to release this now as opposed to any other number of game types that would lean more into the investments Unity has been making.
    • Only Unity Ads is being shown; what about Analytics, IAP, etc and the other monetization services? Trash Dash had these 5 years ago. Pretty much every mobile f2p games has some kind of purchasing system.
    • No Saving Of Data? For leaderboards, profiles, unlockables etc. Every game needs this.
    • Settings menu is fairly bare bones; would like to see more settings in terms of Localization, Input Controls, Accessibility, etc. What does changing Quality actually do? Most Quality Settings Menus now have individual settings per shadows, texture res, etc.
    • Could Unity use this template and extend on it and then ship and maintain that extended game to the App Stores? And document the delta of work between the template offered as-is and the shipped version? The blogpost has example scenarios of how it could be reskinned and its a shame not to have those versions to study aswell.
     
    Last edited: Nov 16, 2022
    PutridEx, Reverend-Speed and DevDunk like this.
  6. AliciaRaisinghani

    AliciaRaisinghani

    Unity Technologies

    Joined:
    Nov 4, 2022
    Posts:
    2
    You'll be able to see the template on Editor version 2021.3.4f1 or later. Added that to the Forum post. Thank you!
     
    TreyK-47 likes this.
  7. Andy-Touch

    Andy-Touch

    A Moon Shaped Bool Unity Legend

    Joined:
    May 5, 2014
    Posts:
    1,325
    No reply to questions and feedback after a week? :( Thats a shame.
     
    Unifikation and PutridEx like this.
  8. HamzaMehmood786

    HamzaMehmood786

    Joined:
    Feb 28, 2021
    Posts:
    1
    Anyone able to share this template
     
  9. Reverend-Speed

    Reverend-Speed

    Joined:
    Mar 28, 2011
    Posts:
    276
    Is this considered a standard Unity approach for mobile architecture, eg. the scriptable object event systems etc?
     
  10. stardev24

    stardev24

    Joined:
    Nov 29, 2021
    Posts:
    7
    After running this template player is not moving.I am also getting error with mouse movement
    Code (CSharp):
    1. Player cannot move because SetMaxXPosition has never been called or Level Width is 0. If you are in the LevelEditor scene, ensure a level has been loaded in the LevelEditor Window!
    2. UnityEngine.Debug:LogError (object)
     
  11. uncleTompson

    uncleTompson

    Joined:
    Jul 17, 2019
    Posts:
    1
    The same!!! It's bug or feature?
     
  12. k3mell

    k3mell

    Joined:
    Oct 7, 2021
    Posts:
    1
    Same :(((

    Did you succeed?
     
  13. sevenfivel

    sevenfivel

    Joined:
    Mar 25, 2017
    Posts:
    5
    Try making sure the level editor window is showing somewhere when you click the play button.
    I had this problem, too. At the time, I had the level editor window and the gameplay window on different tabs in the same docking panel. When I played the game in the Editor, it would switch to the game window, covering the level editor window so that, the next time I tried playing, the level editor wasn't showing. Apparently, this messes something up with the way the level editor sets things up for playing in the Editor. I moved the level editor to its own docking panel and that seems to have fixed the problem.
     
    Mehdi_Hasheminia likes this.
  14. Mehdi_Hasheminia

    Mehdi_Hasheminia

    Unity Technologies

    Joined:
    Feb 12, 2021
    Posts:
    3
    Hi Andy-Touch,
    Thanks for the feedback, and I'm glad you liked the project!

    Runner games have long been trending, and this is a highly marketable genre on mobile. We’d love your feedback on what other genres would be interesting for you.

    Unlike "Trash Dash," this template is not a sample game. The purpose of this template is to help our users to ship a customizable and complete mobile game rather than a demonstration of the latest technologies. The emphasis is on customizing and creating new levels quickly using the tools provided.

    We have an item pickup and a currency system (coin collection and unlocking stars by picking up keys), and the data is saved locally. We do not have a leaderboard system to avoid making assumptions on backend/server support and providers. Perhaps in the future the template may have a thin front end layer to plug into though.

    The settings menu resembles the same window from well-known mobile games. The quality slider switches between a few quality presets.
     
  15. Mehdi_Hasheminia

    Mehdi_Hasheminia

    Unity Technologies

    Joined:
    Feb 12, 2021
    Posts:
    3
    Hi stardev24, uncleTompson, k3mell,

    Sorry for being late to the party! The dependencies of the runner game mechanics are provided by either the Boot scene (Boot.unity) or Level Editor window (Menu>Windows>Runner Level Editor). If none of these elements are present when you run the game, it will throw errors.

    To solve the problem, try running the game from the Boot scene or when the Level Editor window is open and level data is loaded. If this answer doesn’t help you, or you think getting the game running is confusing, please share more info about the problem and how we can reproduce it.
     
    WilderMedeiros likes this.
  16. Mehdi_Hasheminia

    Mehdi_Hasheminia

    Unity Technologies

    Joined:
    Feb 12, 2021
    Posts:
    3
    Hi Reverend-Speed,
    This is one of many possible approaches that work well for this scale but is not considered Unity's standard approach.
     
  17. stardev24

    stardev24

    Joined:
    Nov 29, 2021
    Posts:
    7

    @Mehdi_Hasheminia
    As suggested I have started using Boot.unity and also opened level editor window while playing the scene.But still I am not able to move player left and right.Even I have tried using arrow keys,WASD and well as mouse pointe click etc..
    You can also observe the error on console.Please refer the screenshot and kindly help me with resolution.
    Unity given assets are always work smooth.First time I a
     

    Attached Files:

    Last edited: Dec 9, 2022
  18. stardev24

    stardev24

    Joined:
    Nov 29, 2021
    Posts:
    7
    @sevenfivel
    As suggested I have opened level editor window while playing the scene.But still I am not able to move player left and right.Even I have tried using arrow keys,WASD and well as mouse pointe click etc..
    You can also observe the error on console.I could not understand what am I missing here.Please refer the screenshot and kindly help me with resolution.
     

    Attached Files:

  19. TelinoT

    TelinoT

    Joined:
    Mar 31, 2019
    Posts:
    1
    For some reason my Levels are not being loaded correctly. The boot scene always loads the last level opened in the Level editor. I tried adding "debug.log(m_LevelDefinition)" in the LoadLevelFromDef wehre it told me that for example Level_000 got loaded even though it was Level_001 that effectively got loaded. Did anyone have this issue too and was able to solve it?

    EDIT: Solved the issue. It was becasue a LevelParent object of the LevelEditor was preloaded in the boot scene. This somehow messed everything up. I'm very glad I could find the issue.
     
    Last edited: Dec 10, 2022
  20. stardev24

    stardev24

    Joined:
    Nov 29, 2021
    Posts:
    7
    Could you please help me
     
  21. sevenfivel

    sevenfivel

    Joined:
    Mar 25, 2017
    Posts:
    5
    To be honest, I'm at a bit of a loss here. You could try making sure there is actually a level loaded in the level editor and then clicking on "save level" and then "load level," but, if you're launching while the boot scene is loaded (as in the screenshot), it shouldn't make a difference (at least, it doesn't on my computer), so I'm not too hopeful that will help at all. I really think the Devs should take this one, but they have been slow to respond, so far.
     
  22. hawken

    hawken

    Joined:
    Aug 22, 2013
    Posts:
    773
    I would like to echo the sentiments of Andy-Touch, but also add that there are some Unity provided frameworks absent from this demo that could be interesting the see integrated like Unity Social API which has leaderboard integration.

    Is the omission of the Social API a sign that Unity also can't get leaderboards to work anymore?
     
  23. alsomitra

    alsomitra

    Joined:
    Aug 31, 2017
    Posts:
    32
    The following error message appears
    Is this a bug?

    Unity 2021.3.16f1 Mac Editor
    Advertisement Version 4.3.0

    Assets/Core/Scripts/Ads/AdsController.cs(47,31): error CS1501: No overload for method 'Initialize' takes 4 arguments

    // Advertisement.Initialize(GameId, TestMode, false, this);//ERR
    Advertisement.Initialize(GameId, TestMode, this);//OK
     
    Last edited: Jan 6, 2023
  24. hawken

    hawken

    Joined:
    Aug 22, 2013
    Posts:
    773
    seems like the demo uses the old version of unity ads.
     
  25. Freakhealer

    Freakhealer

    Joined:
    Aug 27, 2020
    Posts:
    3
    surely is a bug, seems that they changed the library but didn't update the demo. could someone help with an updated default for the
    Advertisement.Initialize(GameId, TestMode, false, this)


    should we keep
    (IUnityAdsInitializationListener) this
    on initialization, ignoring the false argument that comes on the default project?

    edit: after editing the script it asked me to update the adds package saying that it will soon be discontinued, now basically the whole script is bugged. probably this "runner template" should be removed until you update the tutorials.. wasted a lot of time not learning much. since the base of the project(ads) is deprecated
     
    Last edited: Jan 16, 2023
  26. WilderMedeiros

    WilderMedeiros

    Joined:
    Nov 28, 2017
    Posts:
    3
    This approach have worked for me. That's how it was done, we have to open the boot scene to load the variables and play the game. WASD doesn't worked here (idk why), I played with mouse (clicking, holding and directing the player)
     
  27. Freakhealer

    Freakhealer

    Joined:
    Aug 27, 2020
    Posts:
    3
    WASD isn't set up, the tutorial tells you to use the mouse. you can use touch as well
     
  28. helplocal

    helplocal

    Joined:
    Jan 18, 2023
    Posts:
    1
    is runner template only available for LTS version