- Home /
Firebase Unity SDK - What is cause of System.UnauthorizedAccessException?
After adding Firebase Could Messaging to my Android based project using the Firebase Unity SDK I am seeing 50+ System.UnauthorizedAccessException exceptions in the logs immediately following Firebase initialization. Not sure if this is a Unity issue or a Firebase issue. The Firebase messaging appears to be working fine. Someone else reported the issue to Google at https://groups.google.com/forum/#!topic/firebase-talk/mvSNUMFOGXo. The log output follows. The exception repeats 50+ times (only 2 shown here.) Does anyone know the cause?
04-26 15:08:40.041 I/Unity (29834): Firebase Cloud Messaging API Initialized
04-26 15:08:40.041 I/Unity (29834):
04-26 15:08:40.041 I/Unity (29834): (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
04-26 15:08:40.041 I/Unity (29834):
04-26 15:08:40.411 E/Unity (29834): System.UnauthorizedAccessException: Access to the path "/.config" is denied.
04-26 15:08:40.411 E/Unity (29834): at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at System.IO.DirectoryInfo.Create () [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create ()
04-26 15:08:40.411 E/Unity (29834): at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at System.IO.DirectoryInfo.Create () [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create ()
04-26 15:08:40.411 E/Unity (29834): at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at System.IO.DirectoryInfo.Creat
04-26 15:08:40.411 E/Unity (29834): System.UnauthorizedAccessException: Access to the path "/.config" is denied.
04-26 15:08:40.411 E/Unity (29834): at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at System.IO.DirectoryInfo.Create () [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create ()
04-26 15:08:40.411 E/Unity (29834): at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at System.IO.DirectoryInfo.Create () [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create ()
04-26 15:08:40.411 E/Unity (29834): at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in :0
04-26 15:08:40.411 E/Unity (29834): at System.IO.DirectoryInfo.Creat
Your answer

Follow this Question
Related Questions
clip() in ES3 shader still doesn't work on certain Adreno GPUs 0 Answers
My rigidbody2d is passing through the side of a collider2d but it's working on the top 0 Answers
Unity can't receive information from Intent *urgent 0 Answers
Why is this error happening 1 Answer
Scripting Backend for APK in Unity 5 1 Answer