Could not find file I2Source_I2Languages.loc

More
6 years 4 weeks ago #2847 by tontonpiero
Hi,
I updated the latest version of the plugin (2.8.4 f1)
Since I get this exception at the very beginning of my game on Android.
Error loading file '/storage/emulated/0/Android/data/com.mycompany.mygame/files/I2Source_I2Languages.loc'
03-21 17:11:37.662  7768  7800 E Unity   : System.IO.FileNotFoundException: Could not find file "/storage/emulated/0/Android/data/com.mycompany.mygame/files/I2Source_I2Languages.loc".
03-21 17:11:37.662  7768  7800 E Unity   : File name: '/storage/emulated/0/Android/data/com.mycompany.mygame/files/I2Source_I2Languages.loc'
03-21 17:11:37.662  7768  7800 E Unity   :   at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019c] in <9c9f068c46c64ffd91fda7af157b4d15>:0
03-21 17:11:37.662  7768  7800 E Unity   :   at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <9c9f068c46c64ffd91fda7af157b4d15>:0

Despite of that, the game works fine, translations are ok...
Everything is fine in the editor.
I'm using Unity 2017.2.
I already tried to remove/reinstall the APK.
I also removed your plugin before updating to the latest version.

Thanks for your help!

Please Log in or Create an account to join the conversation.

More
6 years 3 weeks ago #2850 by Frank
Hi,
Please feel free to ignore that error message.

The code there was actually just trying to find if there was a file in the first place and get the data if it was, but I forgot to mute the log because I'm anyway checking for whatever the result is a valid data.
I'm correcting that bug in the next beta.

Thanks for reporting this issue!!
Frank

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out
The following user(s) said Thank You: tontonpiero

Please Log in or Create an account to join the conversation.

More
6 years 3 weeks ago #2852 by tontonpiero
Thank you for your quick answer!

For those who are interested, you just need to remove/comment every "LogError" in the file "PersistentStorage.cs"

Please Log in or Create an account to join the conversation.

Time to create page: 0.170 seconds
Template by JoomlaShine