Post by pixelknight on Apr 8, 2016 17:17:41 GMT
Hi there,
I have my spawners + killables all working fine on my macbook, so now I'm trying to run my project on my windows machine and running into problems. I've checked both are running same version of unity as well as the core gamekit but I get loads of errors in my game.
Is there anything obvious you can think of which could cause problems when running between osx + windows? They are both loading exactly same project from same location.
I have my spawners + killables all working fine on my macbook, so now I'm trying to run my project on my windows machine and running into problems. I've checked both are running same version of unity as well as the core gamekit but I get loads of errors in my game.
Killable 'Player' specifies a World Variable Modifier with World Variable 'player_health', which doesn't exist in the scene.
UnityEngine.Debug:LogError(Object)
DarkTonic.CoreGameKit.LevelSettings:LogIfNew(String, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Level/LevelSettings.cs:1075)
DarkTonic.CoreGameKit.Killable:ValidateWorldVariableModifier(WorldVariableModifier) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Combat/Killable.cs:670)
DarkTonic.CoreGameKit.Killable:CheckForValidVariables() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Combat/Killable.cs:627)
DarkTonic.CoreGameKit.Killable:SpawnedOrAwake(Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Combat/Killable.cs:1527)
DarkTonic.CoreGameKit.Killable:Start() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Combat/Killable.cs:273)
Could not find World Variable 'player_ammo'.
UnityEngine.Debug:LogError(Object)
DarkTonic.CoreGameKit.LevelSettings:LogIfNew(String, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Level/LevelSettings.cs:1075)
DarkTonic.CoreGameKit.WorldVariableTracker:GetWorldVariable(String) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/WorldVariables/WorldVariableTracker.cs:196)
PlayerStats:get_Ammo() (at Assets/Scripts/Player/PlayerStats.cs:48)
PlayerShooting:Shoot() (at Assets/Scripts/Player/PlayerShooting.cs:99)
PlayerShooting:Update() (at Assets/Scripts/Player/PlayerShooting.cs:64
NullReferenceException: Object reference not set to an instance of an object
DarkTonic.CoreGameKit.Killable.IsValidHit (Int32 hitLayer, System.String hitTag) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Combat/Killable.cs:747)
DarkTonic.CoreGameKit.Killable.CollisionEnter (UnityEngine.Collision collision) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Combat/Killable.cs:420)
DarkTonic.CoreGameKit.Killable.OnCollisionEnter (UnityEngine.Collision collision) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Combat/Killable.cs:410)
Is there anything obvious you can think of which could cause problems when running between osx + windows? They are both loading exactly same project from same location.