-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assets dont load in windows build #26
Comments
Did you copy over the Asset Bundles or Addressable Assets? See: https://github.com/Unity-Technologies/EndlessRunnerSampleGame/wiki/Testing-and-Building |
@crawfis Hi, I have the latest project from the git project so I am working with addresables. |
Also do you know how to skip the tutorial by defauld in the game? |
You need to:
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. |
@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. |
@crawfis Sir, Do you able to play the game? When I build the game and play it, nothing loads. |
@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! |
I can play in the editor but couldn't get it play when build in Windows. Nothing load. Could you guys help me? |
I tried to run the game for a standalone windows build but when i press the run button the assets dont load.
Can not figure out the solution to the problem.
You can see in the image that the game starts but no asset is loaded.
The works on the editor but not after build.
The text was updated successfully, but these errors were encountered: