unity-technologies / endlessrunnersamplegame Goto Github PK
View Code? Open in Web Editor NEWRepository for the Endless Runner Game Sample (Trash Dash)
Repository for the Endless Runner Game Sample (Trash Dash)
Open up the project on a Mac running 19.1
Open the Scene "Start"
You'll notice several UI elements missing, the cat from Trash Dash is pink and an error is in the console:
Addressables - runtime data was built with a different build target. Expected StandaloneOSX, but data was built with StandaloneWindows64. Certain assets may not load correctly including shaders. You can rebuild player content via the Addressable Assets window.
UnityEngine.ResourceManagement.Util.DelayedActionManager:LateUpdate()
Upon collecting a pickup you receive an error. When the pickup runs out you receive an error.
The pickup UI never leaves the screen so as you collect more powerups during your run the bottom left of your screen continously fills up with (now empty) powerup icons
Lastly when you finally die and then start a new run all previous powerup icons will be displayed in the bottom left from the previous run
The errors are:
NullReferenceException: Object reference not set to an instance of an object
Consumable+d__19.MoveNext () (at Assets/Scripts/Consumable/Consumable.cs:69)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17)
Exception encountered in operation UnityEngine.ResourceManagement.ResourceManager+CompletedOperation`1[UnityEngine.GameObject], result='', status='Failed': Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=8cede34fb26a722408198e0d27628ae9
UnityEngine.AddressableAssets.AssetReference:InstantiateAsync(Transform, Boolean)
d__19:MoveNext() (at Assets/Scripts/Consumable/Consumable.cs:67)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
CharacterInputController:UseConsumable(Consumable) (at Assets/Scripts/Characters/CharacterInputController.cs:425)
CharacterCollider:OnTriggerEnter(Collider) (at Assets/Scripts/Characters/CharacterCollider.cs:181)
Hi, it looks like the version of this released through the Asset store was updated as recently as today for 2019.3 compatibility. Is this no longer being kept up to date? These larger, real-quality projects are the best learning tools you provide right now - does this mean we're getting only old, left-for-dead versions through github? It helps so much being able to see all the commits so we can learn from them, please consider keeping these updated too.
ObstacleDog is missing it's mesh
Start and lose a run in Trash Dash
Upon being presented with your death screen click on the Main Menu button to go back to the Main Menu
Your character won't be displayed in the screen:
As you play through Trash Dash at several stages you'll get this warning in the console:
"Can not play a disabled audio source
UnityEngine.EventSystems.EventSystem.Update()"
It happens on the following gameobjects:
I see the project was originally committed with an MIT license, but that was quickly removed. Can this project be used in a commercial product?
Delete all data from the settings menu to ensure you have an empty slate to work with
Go into the store and click on the "Store" text to cheat and get a lot of currency
Buy whatever you want but make sure you get at least some items (magnet, invincible, etc)
Close the store and in the menu from which you Run, equip an item
Don't click the run button just yet - making sure you have an item equipped go into settings and delete your data.
Close the settings menu and you'll be back at the run menu with everything deleted and removed
Now click the Run button
The item you equipped before clearing data will be in the lower right ready to be used.
In 2019.3.0f1 make sure you have both characters unlocked.
In Play Mode, Go from the Start scene to the MainMenu scene.
Press the toggle to switch between both characters whilst observing the bottom half of the screen.
You will see the other character you're loading in flash at the bottom of the screen for a moment:
https://learn-content.gyazo.com/b7d96f6a056ae49b1d634aa98ce226ab
This is presumably due to the way assetbundles are loaded.
Retry won't work, and pressing Continue will lead to the project opening with a package error about the com.unity.render-pipelines.lightweight package.
Presumably it needs to be changed to com.unity.render-pipelines.universal
This does not prevent the game from running however
Hi, Good afternoon
I have an issue with changing the system of points, like if someone wants to change it and make it more complex with more than one source, like fishbone, food and more.
Detailing the points system could help me
Thanks for making this wiki for the sample game
Go into the Start Scene and proceed through like you would normally to start a new game
When you get to playing the game you'll notice that the entire screen except for the UI is blank (white)
The countdown still occurs and your character starts running, collecting pickups, etc.
Start a new run in Trash Dash
As you're running away trying to achieve your highest score to show to your friends you need to stop playing for a second and you press the pause button.
The game doesn't pause
Clicking outside of the Unity Editor (e.g. on a different running program) pauses the game, but the pause button in the upper left does not:
https://gyazo.com/b3710f9cf27b4039ba9a12f8ffe406c5
[Mac+Win]
Open the Project in 19.3.0f1
You will note the following two warnings in the Start Scene:
However, the Main Camera game object doesn't have any Missing components, warnings, etc.
The Start scene renders and plays correctly however.
Open up the project in 2019.3.0f1, navigate to the Start scene, and enter Play Mode.
Click Start button which will load you into the Main Menu
At this point you'll note that something seems wrong....
The characters are positioned much above their original point, floating in mid-air, covering up some of the menu options.
In addition, the bottom of the menu seems to have shifted upwards too.
It seems latest master commit makes this branch only compatible with Unity 2020 and up. Thus trying to open this project with Unity 2019 LTS will throw bunch of errors, since Unity projects are not backwards compatbile
Even though ReadMe says, current Unity version is 2019.3.
Please:
Thanks!
Using the URP, the 3D environment can not render, even not clear. But the canvas draw correctly.
Is there any thing I can check?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.