Hello,
I am trying to build my asset bundle in WebGL but i am encountering the error messages below when i test my asset bundle on my web server.
-
Error while downloading Asset
Bundle: Failed to decompress data
for the AssetBundle -
InvalidOperationException: Received
no data in response at
UnityEngine.Networking.DownloadHandler.GetCheckedDownloader[T]
(UnityEngine.Networking.UnityWebRequest
www) [0x00000] in
<00000000000000000000000000000000>:0 -
(Filename: currently not available
on il2cpp Line: -1) -
Refused to get unsafe header “ETag”
-
The file can not be loaded because
it was created for another build
target that is not compatible with
this platform. Please make sure to
build AssetBundles using the build
target platform that it is used by.
File’s Build target is: 19
(Filename: Line: 1348)
Mention below are the steps i have taken
-
switch Platform from PC,
MAC & Linux Standalone to WebGL -
delete existing asset bundles from
…\source\UnityBuildPipeline\AssetBundles -
delete old prefabs and created new
ones -
build asset bundles in Unity >
Assets > Build AssetBundles
Any idea if there is something i may have missed out?