Giter Club home page Giter Club logo

Comments (8)

crawfis avatar crawfis commented on June 23, 2024

Did you copy over the Asset Bundles or Addressable Assets? See: https://github.com/Unity-Technologies/EndlessRunnerSampleGame/wiki/Testing-and-Building
I switched to Addressables and need to copy of the files/folders from Libraries/unity.addressables.com/...

from endlessrunnersamplegame.

shahanpower avatar shahanpower commented on June 23, 2024

@crawfis Hi, I have the latest project from the git project so I am working with addresables.
could you tell me what to do exactly for the addresables to work. I couldnt understand what you said about copying

from endlessrunnersamplegame.

shahanpower avatar shahanpower commented on June 23, 2024

Also do you know how to skip the tutorial by defauld in the game?

from endlessrunnersamplegame.

crawfis avatar crawfis commented on June 23, 2024

You need to:

  1. Build them Addressables->Groups->Build
  2. Copy over Libraries/com.unity.addressables/aa into the {Game}_Data/StreamingAssets/aa
  3. You may need to move some stuff around to make sure the link file is there.
    Addressables are great when you get them working, but >!&^^!&^&*!

In TrackManager.cs (SpawnFromAssetReference) I need to replace this item to fix a bug. Not sure if it is something I did our the latest version of Addressables and Unity.
//AsyncOperationHandle op = reference.LoadAssetAsync();
AsyncOperationHandle op = Addressables.LoadAssetAsync(reference);

from endlessrunnersamplegame.

crawfis avatar crawfis commented on June 23, 2024

Also do you know how to skip the tutorial by defauld in the game?

@shahanpower. No easy way to automatically skip the Tutorial. There is a flag in the save.bin (which I just converted to Text) which indicates whether it is done or not. We skip all screens until we get to the game in one of our modes (exercise / rehab games). We copy a stored save.bin over to Persistent storage if it doesn't exit. This will preload all of our themes, etc. Otherwise, just hack the code and after Save.bin is read, set tutorialDone to true.

from endlessrunnersamplegame.

beeryok avatar beeryok commented on June 23, 2024

@crawfis Sir, Do you able to play the game? When I build the game and play it, nothing loads.
1

from endlessrunnersamplegame.

crawfis avatar crawfis commented on June 23, 2024

@beeryok You need to make sure you build the Addressables first. Unity will automatically do it after that (sometimes :-)).

from endlessrunnersamplegame.

beeryok avatar beeryok commented on June 23, 2024

@beeryok You need to make sure you build the Addressables first. Unity will automatically do it after that (sometimes :-)).

Its work! I followed your instructions above and it worked!

from endlessrunnersamplegame.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.