LoadPackageAsync always fails if file string not correctly formated
I was looking into loading asset elements using LoadPackageAsync and get it crashed every time I passed a filename even if this file exists. If I read the log file I have the corresponding massage : "LoadPackageAsync failed to begin to load a package because the supplied package name was neither a valid long package name nor a filename of a map within a content folder: ' '".
When I investigating why this problem happens, I think I discover where the problem comes from. In the file AsyncLoading.cpp, in the function
I set up a workaround so it don't have to call the previous test.
asked Mar 16 '16 at 10:19 AM in Bug Reports
Thank you for the help understanding your issue, RouxNicolas. I've placed a bug in for the issue under the bug number UE-29849. I'll be tracking it and I'll let you know whenever there are any updates to the issue or if we need any more information from you.
Have a nice day!
answered Apr 22 '16 at 09:29 PM
Matthew J ♦♦ STAFF
通常pak是很容易加载成功的，而异步读取资源是否成功取决于你读取的路径是否正确。把那些.../../../..全部删掉，之后就可以在资源注册表通过各种方法使用这些资源了。have good day ：）
answered Apr 16 '16 at 09:28 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here