STACK:
CONFIGURATION:
I want to load a scene entirely from an AWS S3 bucket. I have followed two tutorials:
I have a simple scene with a couple of buttons to press. In this case, the user presses "Load Remote Scene"
that will call the function to load the addressable (which uses a string to define the address). The function is trying to load the Test_scene_2.unity
scene where there is a spinning cube.
A new "remote" profile has been created and set as active
. Also, the remote AWS path has been configured:
As you can see I have an Addressable group that contains a reference to the scene:
And both global and group settings have been configured for generating a remote catalog:
As a final step, I have built the addressable group generating the .hash
, .bin
and .bundle
files in the AssetData
folder
PROBLEM: I know that the next step is to load those files to the S3 buckets, but as reported in the MeowKim tutorial:
"Running at this time would cause errors because Unity tries to get remote groups from the server."
Unfortunately, if I run the game in the editor and push the "Load remote Scene" button the scene gets loaded normally, which shouldn't happen because the S3 bucket is empty. I should get an error, which should disappear as soon as I upload the files. This means that my addressable assets are still pointing to the local files.
The strange thing is that if I build a standalone app the remote loading works, meaning it fails if the S3 bucket is empty but it loads the scene as soon as I load the addressable data.
In Summary:
What am I missing?
I had that problem, I modified the scene's addressable keys to simple names without special characters and in one word, it worked for me I hope this help someone.