voxeltycoon / issues

18 stars 4 forks source link

Game don't start macos #917

Closed kokoulin closed 2 years ago

kokoulin commented 2 years ago

Describe the bug Game don't start macos

Steps to reproduce

  1. Install game from steam
  2. Launch game
  3. See white screen

Build version -//-

Platform MacOS 11.0.1 BigSur

Reproducibility every time

kokoulin commented 2 years ago

Mono path[0] = '/Users/kokoulin/Library/Application Support/Steam/steamapps/common/VoxelTycoon/VoxelTycoon.app/Contents/Resources/Data/Managed' Mono config path = '/Users/kokoulin/Library/Application Support/Steam/steamapps/common/VoxelTycoon/VoxelTycoon.app/Contents/MonoBleedingEdge/etc' Initialize engine version: 2020.3.12f1 (b3b2c6512326) [Subsystems] Discovering subsystems at path /Users/kokoulin/Library/Application Support/Steam/steamapps/common/VoxelTycoon/VoxelTycoon.app/Contents/Resources/Data/UnitySubsystems GfxDevice: creating device client; threaded=1 2021-12-10 21:02:03.170 VoxelTycoon[33593:1281314] Color LCD preferred device: AMD Radeon Pro 555X (high power) 2021-12-10 21:02:03.170 VoxelTycoon[33593:1281314] Metal devices available: 2 2021-12-10 21:02:03.170 VoxelTycoon[33593:1281314] 0: AMD Radeon Pro 555X (high power) 2021-12-10 21:02:03.170 VoxelTycoon[33593:1281314] 1: Intel(R) UHD Graphics 630 (low power) 2021-12-10 21:02:03.170 VoxelTycoon[33593:1281314] Using device AMD Radeon Pro 555X (high power) Initializing Metal device caps: AMD Radeon Pro 555X Begin MonoManager ReloadAssembly

Uploading Crash Report UnauthorizedAccessException: Access to the path "/Users/kokoulin/.local/share/GameAnalytics" is denied. at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0005e] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.IO.Directory.CreateDirectory (System.String path) [0x0008f] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.IO.DirectoryInfo.Create () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo.Create() at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00036] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.IO.Directory.CreateDirectory (System.String path) [0x0008f] in <695d1cc93cca45069c528c15c9fdd749>:0 at GameAnalyticsSDK.Net.Device.GADevice.GetPersistentPath () [0x00053] in <4ca947a88bf441ffb835cdb1907858f2>:0 at GameAnalyticsSDK.Net.Device.GADevice..cctor () [0x0002c] in <4ca947a88bf441ffb835cdb1907858f2>:0 Rethrow as TypeInitializationException: The type initializer for 'GameAnalyticsSDK.Net.Device.GADevice' threw an exception. at GameAnalyticsSDK.Net.GameAnalytics..cctor () [0x00006] in <4ca947a88bf441ffb835cdb1907858f2>:0 Rethrow as TypeInitializationException: The type initializer for 'GameAnalyticsSDK.Net.GameAnalytics' threw an exception. at GameAnalyticsSDK.Wrapper.GA_Wrapper.addErrorEvent (System.Int32 severity, System.String message, System.String fields) [0x00000] in :0 at GameAnalyticsSDK.Wrapper.GA_Wrapper.AddErrorEvent (GameAnalyticsSDK.GAErrorSeverity severity, System.String message, System.Collections.Generic.IDictionary2[TKey,TValue] fields) [0x00007] in <cc365dfa023f45839108dd215c12dd6b>:0 at GameAnalyticsSDK.Events.GA_Error.CreateNewEvent (GameAnalyticsSDK.GAErrorSeverity severity, System.String message, System.Collections.Generic.IDictionary2[TKey,TValue] fields) [0x00000] in :0 at GameAnalyticsSDK.Events.GA_Error.NewEvent (GameAnalyticsSDK.GAErrorSeverity severity, System.String message, System.Collections.Generic.IDictionary`2[TKey,TValue] fields) [0x00000] in :0 at GameAnalyticsSDK.Events.GA_Debug.SubmitError (System.String message, UnityEngine.LogType type) [0x00030] in :0 at GameAnalyticsSDK.Events.GA_Debug.HandleLog (System.String logString, System.String stackTrace, UnityEngine.LogType type) [0x000d6] in :0 at (wrapper delegate-invoke) .invoke_void_string_string_LogType(string,string,UnityEngine.LogType) at UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) [0x00015] in <031d9a19209d48078ee1d97f666b488d>:0

UnauthorizedAccessException: Access to the path "/Users/kokoulin/.local/share/GameAnalytics" is denied. at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0005e] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.IO.Directory.CreateDirectory (System.String path) [0x0008f] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.IO.DirectoryInfo.Create () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo.Create() at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00036] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.IO.Directory.CreateDirectory (System.String path) [0x0008f] in <695d1cc93cca45069c528c15c9fdd749>:0 at GameAnalyticsSDK.Net.Device.GADevice.GetPersistentPath () [0x00053] in <4ca947a88bf441ffb835cdb1907858f2>:0 at GameAnalyticsSDK.Net.Device.GADevice..cctor () [0x0002c] in <4ca947a88bf441ffb835cdb1907858f2>:0 Rethrow as TypeInitializationException: The type initializer for 'GameAnalyticsSDK.Net.Device.GADevice' threw an exception. at GameAnalyticsSDK.Net.GameAnalytics..cctor () [0x00006] in <4ca947a88bf441ffb835cdb1907858f2>:0 Rethrow as TypeInitializationException: The type initializer for 'GameAnalyticsSDK.Net.GameAnalytics' threw an exception. at GameAnalyticsSDK.Wrapper.GA_Wrapper.configureSdkGameEngineVersion (System.String unitySdkVersion) [0x00000] in :0 at GameAnalyticsSDK.Wrapper.GA_Wrapper.SetUnitySdkVersion (System.String unitySdkVersion) [0x00000] in :0 at GameAnalyticsSDK.GameAnalytics.InternalInitialize () [0x00041] in :0 at GameAnalyticsSDK.GameAnalytics.Initialize () [0x00000] in :0 at VoxelTycoon.AnalyticsManager.OnInitialize () [0x00047] in :0 at VoxelTycoon.Manager1[T]..ctor () [0x00097] in <cc365dfa023f45839108dd215c12dd6b>:0 at VoxelTycoon.AnalyticsManager..ctor () [0x00000] in <cc365dfa023f45839108dd215c12dd6b>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <695d1cc93cca45069c528c15c9fdd749>:0 Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Activator.CreateInstance[T] () [0x00015] in <695d1cc93cca45069c528c15c9fdd749>:0 at VoxelTycoon.Manager1[T].Initialize () [0x00017] in :0 at VoxelTycoon.SceneControl.SceneController.Awake () [0x00007] in :0

kokoulin commented 2 years ago

My problem was that the share folder was write-locked for the main user. i went to this folder and added the main user rights 755 for this folder

andrewpey commented 2 years ago

Glad you've figured out the problem!