![]() When I iterate over each item in my pack I get its the size and then proceed to download it. The size of my packed assets bundle is 10megs and change. My addresables are hosted in DigitalOcean and are not local to my machine. ![]() The gray one is my console output, the multicolored one is a standalone build output. I'm having an issue getting the Addressbles to correctly show their download progress.īelow you'll see two screenshots attached. Maybe someone can help me out here in understanding the gap in my knowledge. Using (UnityWebRequest uwr = UnityWebRequestAssetBundle.GetAssetBundle(myaamiakiScene)) If (uwr.isNetworkError || uwr.isHttpError)ĪssetBundle bundle = DownloadHandlerAssetBundle.GetContent(uwr) Using (UnityWebRequest uwr = UnityWebRequestAssetBundle.GetAssetBundle(myaamiakiAssets)) So why am I getting an error message saying that there's an unfinished UWR object? I'm missing something here. So, what's going on here? I check to see if the UWR's Download Handler is finished and then dispose of both the handler and the UWR itself. "InvalidOperationException: Cannot get content from an unfinished UnityWebRequest object" The coroutine gets to line 77 where the second UWR should start, and I get this error message: ![]() ![]() I've set up an IEnumerator that goes through a UnityWebRequest, gets the asset bundle, stores it, and then disposes itself. ![]() It's one download button that will retrieve 2 asset bundles from HTTP links. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |