View Issue Details

IDProjectCategoryLast Update
0001082AI War 1 / ClassicCrash/ExceptionNov 4, 2010 10:18 pm
ReporterFleet Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version4.024 
Summary0001082: Error on game startup v4.028
DescriptionFailure! (0)
System.NullReferenceException: Object reference not set to an instance of an objety at Game.ContinueStartingGameFromLobby () [0x00000] in <filename unkown>:0

I cannot start a new game, I get this message.

I cannot find this in the regular AppDara/Local/AiWar path. Are the logs stored somewhere else now?
TagsNo tags attached.
Internal Weight

Relationships

related to 0001089 resolvedkeith.lamothe Can't change map types, or map seeds with LOTS in trial mode 
related to 0001088 resolvedkeith.lamothe "New Map Seed" doesn't automatically generate the new map anymore 

Activities

Chris_McElligottPark

Nov 4, 2010 5:16 pm

administrator   ~0002707

The logs are stored in your RuntimeData folder of your game folder itself; it doesn't use the user profiles any longer.

I can't duplicate this issue yet, what settings are you using in the lobby?

Fleet

Nov 4, 2010 5:34 pm

reporter   ~0002710

80 planets, simple, conquest, seed 1277343750, all expansions enabled (though LotS not bought yet)

Eeenteresting. In "Ships" tab, available ships said "None selected". I chose simple (only one available), and the game loads.

Chris_McElligottPark

Nov 4, 2010 5:36 pm

administrator   ~0002712

Ah, okay then. Have you ever started a new campaign on 4.0 before, or just continued old ones? That might be an artifact from the settings importer, we can fix that.

Fleet

Nov 4, 2010 5:43 pm

reporter   ~0002715

I've started several new ones since the Unity pre-releases, and not had this issue.

Chris_McElligottPark

Nov 4, 2010 5:44 pm

administrator   ~0002716

Interesting -- well, we'll just have to put in a safety check there to make sure that doesn't happen again, not sure why it did this time.

Varone

Nov 4, 2010 5:56 pm

reporter   ~0002718

Yeah i'm getting the same issue. Can't start any game type with LOS expansion enabled. As soon as i turn it off i can play again.

rustayne

Nov 4, 2010 6:38 pm

reporter   ~0002723

Same as the rest. If LOTS is enabled, it gives me the same error.

KToff

Nov 4, 2010 7:40 pm

reporter   ~0002731

Last edited: Nov 4, 2010 7:41 pm

I have the same issue, only appears when the expansion is enabled. As soon as I disable LotS -- no problem.

I also attached an output_log file.

KToff

Nov 4, 2010 7:41 pm

reporter  

output_log.txt (10,249 bytes)   
Mono path[0] = 'E:/Games/AIWarUnity/AIWar_Data/Managed'
Mono path[1] = 'E:/Games/AIWarUnity/AIWar_Data/Mono'
Direct3D:
    Version:  Direct3D 9.0c [nvd3dum.dll 8.17.12.5896]
    Renderer: NVIDIA GeForce GTX 285
    Vendor:   NVIDIA
    VRAM:     1024 MB
    Caps:     Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 DF24=0 INTZ=1 RAWZ=0 NULL=1 RESZ=0 SlowINTZ=0
<I> Initializing (RawInput).

<RI> Input initialized.

desktop: 1680x1050 59Hz; virtual: 1680x1050 at 0,0
Non platform assembly: data-02F65FD8 (this message is harmless)
Non platform assembly: data-07AD0020 (this message is harmless)
Non platform assembly: data-07CB0048 (this message is harmless)
Non platform assembly: data-07CC7CD0 (this message is harmless)
Non platform assembly: data-079A0020 (this message is harmless)
Non platform assembly: data-02FC9FD0 (this message is harmless)
Non platform assembly: data-02FD1440 (this message is harmless)
Non platform assembly: data-07CF9FC0 (this message is harmless)
Non platform assembly: data-07D23FD8 (this message is harmless)
Non platform assembly: data-07D34710 (this message is harmless)
Platform assembly: E:\Games\AIWarUnity\AIWar_Data\Managed\I18N.dll (this message is harmless)
Platform assembly: E:\Games\AIWarUnity\AIWar_Data\Managed\I18N.West.dll (this message is harmless)
Platform assembly: E:\Games\AIWarUnity\AIWar_Data\Managed\I18N.dll (this message is harmless)
        System.DllNotFoundException: E:/Games/AIWarUnity/AIWar_Data/Plugins/AIWarST.dll

  at (wrapper managed-to-native) Steamworks:InitSteam ()

  at Steamworks.Initialize () [0x00000] in <filename unknown>:0 
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
Steamworks:Initialize()
MainCameraLogic:OnEnable()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Platform assembly: E:\Games\AIWarUnity\AIWar_Data\Managed\System.dll (this message is harmless)
OnApplicationPause
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:OnApplicationPause()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

OnApplicationFocus ; had focus: True
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:OnApplicationFocus()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

MainCameraLogic.Start
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:Start()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

MainCameraLogic.Instance = MainCameraLogic
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:StartInternal()
MainCameraLogic:FixedUpdate()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Platform assembly: E:\Games\AIWarUnity\AIWar_Data\Managed\System.Xml.dll (this message is harmless)
System.DllNotFoundException: E:/Games/AIWarUnity/AIWar_Data/Plugins/AIWarST.dll

  at (wrapper managed-to-native) Steamworks:InitSteam ()

  at Steamworks.Initialize () [0x00000] in <filename unknown>:0 
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
Steamworks:Initialize()
Game:LoadFirstCriticalData()
MainCameraLogic:StartInternal()
MainCameraLogic:FixedUpdate()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)


GameInit (0 - 11/5/2010 12:34:41 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)


GameInit (1 - 11/5/2010 12:34:41 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)


GameInit (2 - 11/5/2010 12:34:41 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)


GameInit (3 - 11/5/2010 12:34:41 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)


GameInit (4 - 11/5/2010 12:34:41 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)


GameInit (5 - 11/5/2010 12:34:41 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)


GameInit (6 - 11/5/2010 12:34:42 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)


GameInit (7 - 11/5/2010 12:34:42 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)


GameInit (8 - 11/5/2010 12:34:42 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)


GameInit (9 - 11/5/2010 12:34:43 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

11/5/2010 12:34:47 AM (4.028)
-----------------------------------Error-----------------------------------Log String: OnGUI: System.NullReferenceException: Object reference not set to an instance of an object

  at LobbyOptions.ReadControlsIntoOptions (LobbyReadControlsIntoOptionsType Type) [0x00000] in <filename unknown>:0 

  at LobbyOptions.PerformPreGUILogic () [0x00000] in <filename unknown>:0 

  at ArcenGUIManager.DrawGUI () [0x00000] in <filename unknown>:0 

  at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0 
Stack Trace:   at LobbyOptions.ReadControlsIntoOptions (LobbyReadControlsIntoOptionsType Type) [0x00000] in <filename unknown>:0 

  at LobbyOptions.PerformPreGUILogic () [0x00000] in <filename unknown>:0 

  at ArcenGUIManager.DrawGUI () [0x00000] in <filename unknown>:0 

  at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0 

UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:LogWritten(String, String, LogType, Exception, Boolean)
MainCameraLogic:LogWritten(String, String, LogType, Exception)
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

11/5/2010 12:34:47 AM (4.028)
-----------------------------------Error-----------------------------------Log String: OnGUI: System.NullReferenceException: Object reference not set to an instance of an object

  at LobbyOptions.ReadControlsIntoOptions (LobbyReadControlsIntoOptionsType Type) [0x00000] in <filename unknown>:0 

  at LobbyOptions.SubclassPreRender () [0x00000] in <filename unknown>:0 

  at AbstractArcenWindow.Render (Vector3 MousePositionFromTopLeft) [0x00000] in <filename unknown>:0 

  at ArcenGUIManager.DrawGUI () [0x00000] in <filename unknown>:0 

  at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0 
Stack Trace:   at LobbyOptions.ReadControlsIntoOptions (LobbyReadControlsIntoOptionsType Type) [0x00000] in <filename unknown>:0 

  at LobbyOptions.SubclassPreRender () [0x00000] in <filename unknown>:0 

  at AbstractArcenWindow.Render (Vector3 MousePositionFromTopLeft) [0x00000] in <filename unknown>:0 

  at ArcenGUIManager.DrawGUI () [0x00000] in <filename unknown>:0 

  at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0 

UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:LogWritten(String, String, LogType, Exception, Boolean)
MainCameraLogic:LogWritten(String, String, LogType, Exception)
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Generating map now
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LobbyOptions:GenerateMapNow()
LobbyOptions:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

Processing Game Configuration.
StartGameFromLobby (0 - 11/5/2010 12:34:50 AM)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
LoadingWindow:SubclassPreRender()
AbstractArcenWindow:Render(Vector3)
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

OnApplicationQuit
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
MainCameraLogic:OnApplicationQuit()
 
(Filename: ..\..\Runtime\Export\Generated\BaseClass.cpp Line: 2535)

output_log.txt (10,249 bytes)   

keith.lamothe

Nov 4, 2010 7:44 pm

administrator   ~0002732

Varone, rustayne, KToff, have you checked to see if the Available Ships dropdown was set to None Selected, as Fleet found?

KToff

Nov 4, 2010 7:46 pm

reporter   ~0002733

Last edited: Nov 4, 2010 7:51 pm

Indeed. Available ships was set to None selected. Now I set it to simple and can start a campaign.

edit: Without the expansion it was set to complex. (no equivalent option with Trial expansion enabled?)
edit2: probably important, the expansion was not unlocked (yet ;) )

keith.lamothe

Nov 4, 2010 10:18 pm

administrator   ~0002738

Fixed for next version :)

Issue History

Date Modified Username Field Change
Nov 4, 2010 5:14 pm Fleet New Issue
Nov 4, 2010 5:16 pm Chris_McElligottPark Note Added: 0002707
Nov 4, 2010 5:34 pm Fleet Note Added: 0002710
Nov 4, 2010 5:36 pm Chris_McElligottPark Note Added: 0002712
Nov 4, 2010 5:43 pm Fleet Note Added: 0002715
Nov 4, 2010 5:44 pm Chris_McElligottPark Note Added: 0002716
Nov 4, 2010 5:56 pm Varone Note Added: 0002718
Nov 4, 2010 6:38 pm rustayne Note Added: 0002723
Nov 4, 2010 7:40 pm KToff Note Added: 0002731
Nov 4, 2010 7:41 pm KToff File Added: output_log.txt
Nov 4, 2010 7:41 pm KToff Note Edited: 0002731
Nov 4, 2010 7:44 pm keith.lamothe Note Added: 0002732
Nov 4, 2010 7:46 pm KToff Note Added: 0002733
Nov 4, 2010 7:50 pm KToff Note Edited: 0002733
Nov 4, 2010 7:51 pm KToff Note Edited: 0002733
Nov 4, 2010 10:18 pm keith.lamothe Note Added: 0002738
Nov 4, 2010 10:18 pm keith.lamothe Status new => resolved
Nov 4, 2010 10:18 pm keith.lamothe Resolution open => fixed
Nov 4, 2010 10:18 pm keith.lamothe Assigned To => keith.lamothe
Nov 5, 2010 6:47 am Chris_McElligottPark Relationship added related to 0001089
Nov 5, 2010 6:52 am Chris_McElligottPark Relationship added related to 0001088
Apr 14, 2014 9:27 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception