[Solved] CW3 Demo for OSX does not start

Started by faragaudenzi, October 06, 2013, 05:42:42 AM

Previous topic - Next topic

faragaudenzi

I just downloaded the demo version of OSX and trying to launch it brings a window with the "Knuckle Cracker" logo, and it stays there forever. Can anyone help?  ???

I am running OS X 10.8.5.

Thanks!


knucracker

Immediately after trying to start the demo, look here:
~/Library/Logs/Unity/Player.log

Take a loot at that log file and see if it contains anything suspicious (or post it here).
(More info on the location of the log file can be read here.  You are interested in the Desktop Player for OSX.  http://docs.unity3d.com/Documentation/Manual/LogFiles.html )

faragaudenzi

Thanks for the reply, virgilw!

the end of the log file is gives the following error:

UnauthorizedAccessException: Access to the path "/Users/[mycomputer]/.config/CreeperWorld3/" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in <filename unknown>:0
  at FileManager.GetAppDataDir () [0x00000] in <filename unknown>:0
  at GameSettings..cctor () [0x00000] in <filename unknown>:0
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for GameSettings


(Filename:  Line: -1)

Any idea of what it could be the cause?

J

Looks like it doesn't have access to a place it wants to read files from. I don't know how to solve that on a mac but others might do. Try to find something like run as administrator (that's how it works on windows).

faragaudenzi

Hi J

I am running as adm. I changed the permissions to read and write, and tried to open through the terminal with "sudo", but got the same result. :'(

Thanks for the try, anyway!

wolfman2000

Hmm...I'm assuming [mycomputer] is your username? If so, you should have access to your own work. Did permissions get messed up?

faragaudenzi

Hi wolfman2000

yap, [mycomputer] is my username. I am not very computer savy, and i tried to use the "repair permission" tool from the OS, but nothing changed.  :-\


knucracker

I'd bring up a shell using the same user you are trying to run the game as.  Then try to write a file to that directory location.  Something has to be messed up permissions wise and that might help narrow it down.  The "System.IO.Directory.CreateDirectory" is just a mono system call to create a directory.  If it throws a permissions problem, that's because it was denied directory creation access by the OS.

faragaudenzi

Hey ppl

I went to the directory using the terminal, and tried "mkdir CreeperWorld3" (the folder in the .config), what gave me an error of permission.

Then I tried "sudo mkdir CreeperWorld3", and the directory was created.

Now i try to run the demo and is goes pass the logo screen, to the EULA window. After clicking in " Agree", it keeps bringing me to the same EULA window.

The Player.log msg is now (don't know if this will help, but in any case...)

Spoiler

- Completed reload, in  0.058 seconds
Platform assembly: /Applications/CW3.app/Contents/Data/Managed/System.Xml.dll (this message is harmless)
Platform assembly: /Applications/CW3.app/Contents/Data/Managed/System.Core.dll (this message is harmless)
Platform assembly: /Applications/CW3.app/Contents/Data/Managed/UnityScript.Lang.dll (this message is harmless)
Platform assembly: /Applications/CW3.app/Contents/Data/Managed/Boo.Lang.dll (this message is harmless)
Platform assembly: /Applications/CW3.app/Contents/Data/Managed/System.dll (this message is harmless)
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
  at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
  at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
  at GameSettings.Write () [0x00000] in <filename unknown>:0

(Filename: /Applications/buildAgent/work/cac08d8a5e25d4cb/Runtime/ExportGenerated/MacStandalonePlayer/UnityEngineDebug.cpp Line: 54)

UnloadTime: 0.554882 ms
Game Version: 1.04

(Filename: /Applications/buildAgent/work/cac08d8a5e25d4cb/Runtime/ExportGenerated/MacStandalonePlayer/UnityEngineDebug.cpp Line: 54)

Unloading 3 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 10 unused Assets to reduce memory usage. Loaded Objects now: 5328.
Total: 4.038042 ms (FindLiveObjects: 0.174581 ms CreateObjectMapping: 0.038668 ms MarkObjects: 3.720728 ms  DeleteObjects: 0.035048 ms)

UnloadTime: 12.106955 ms
Unloading 1 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 218 unused Assets to reduce memory usage. Loaded Objects now: 802.
Total: 1.154674 ms (FindLiveObjects: 0.031072 ms CreateObjectMapping: 0.026777 ms MarkObjects: 0.382907 ms  DeleteObjects: 0.678321 ms)

  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
  at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
  at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
  at GameSettings.Write () [0x00000] in <filename unknown>:0

(Filename: /Applications/buildAgent/work/cac08d8a5e25d4cb/Runtime/ExportGenerated/MacStandalonePlayer/UnityEngineDebug.cpp Line: 54)

UnloadTime: 0.329416 ms
Game Version: 1.04

(Filename: /Applications/buildAgent/work/cac08d8a5e25d4cb/Runtime/ExportGenerated/MacStandalonePlayer/UnityEngineDebug.cpp Line: 54)

Unloading 4 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 2 unused Assets to reduce memory usage. Loaded Objects now: 5358.
Total: 4.010368 ms (FindLiveObjects: 0.162661 ms CreateObjectMapping: 0.041065 ms MarkObjects: 3.727730 ms  DeleteObjects: 0.009315 ms)

UnloadTime: 5.196826 ms
Game Version: 1.04

(Filename: /Applications/buildAgent/work/cac08d8a5e25d4cb/Runtime/ExportGenerated/MacStandalonePlayer/UnityEngineDebug.cpp Line: 54)

Unloading 1 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 107 unused Assets to reduce memory usage. Loaded Objects now: 5352.
Total: 4.202924 ms (FindLiveObjects: 0.181104 ms CreateObjectMapping: 0.052118 ms MarkObjects: 3.705568 ms  DeleteObjects: 0.221771 ms)

UnloadTime: 4.940201 ms
Unloading 1 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 218 unused Assets to reduce memory usage. Loaded Objects now: 831.
Total: 1.937091 ms (FindLiveObjects: 0.034930 ms CreateObjectMapping: 0.040670 ms MarkObjects: 0.525058 ms  DeleteObjects: 1.302572 ms)

UnloadTime: 0.320461 ms
Unloading 1 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 831.
Total: 0.651579 ms (FindLiveObjects: 0.026234 ms CreateObjectMapping: 0.036360 ms MarkObjects: 0.548099 ms  DeleteObjects: 0.006406 ms)


[close]

thanks for the help!

faragaudenzi

Ok, changed the permission of the folder with chmod so everyone can read, write and execute the "Creeperworld3" folder, now it loads!

Thanks all for the tips!