I need to download AssetBundle to my game, so I first need to check how many disk space left on device .
I just tryed call Caching.spaceFree , but it returns 9223372036854775807 , its very wrong .
So I tryed to do this by myself . On Android , I implement this by calling AndroidJavaScript.
But I canβt find solution on IOS , can anyway help me with this ? thx
Did you find a way to make it work? I am also looking for the same thing β¦
Graham, I saw your link, but unfortunately I am not experienced enough to understand how to use the API with NSFileManager.
I donβt bump most of the time But this is really annoying me
Anyone knows how to convert the script below to make it work in c# ?
I am using the API from U3DXT.
Has anyone made this work in IOS? on Android i have no issues but on IOS i get an undefined symbol error when building on Xcode (Undefined symbol: __iDiskSpace_FreeSpace) as well as during gameplay in the editor (DllNotFoundException: diskUtils)