I am making a WebGL game that will be uploaded to Kongregate.
I need to be able to load data from XML (I use Xml2CSharp), along with assets stored on the client using Addressable. Is this possible? Or does WebGL not support these features?
I am making a WebGL game that will be uploaded to Kongregate.
I need to be able to load data from XML (I use Xml2CSharp), along with assets stored on the client using Addressable. Is this possible? Or does WebGL not support these features?
Addressables are tricky to setup for WebGL. They provide very little added benefit, because asset bundles are decoded on the same thread as the rendering thread all at once, so your game freezes. Time to decode asset bundle + time to load smaller game = Time to load game and the content in the asset bundle in your Assets folder.
You should simply deliver all game content by adding it to your Assets folder.
I just want to load some prefabs that should already be downloaded with the rest of the game, so I can grab them using code. I do not intend to make a request to the server to grab the asset bundle.
The prefabs should already be in the Assets folder