Crash after detaching leader (v1.2.0)

Post bug reports and ask for game support here.

Moderator: MOD_Commander_The_Great_War

Post Reply
User avatar
michaelm75au
Posts: 12459
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

Crash after detaching leader (v1.2.0)

Post by michaelm75au »

I repaired a French unit that had a leader attached.

Then tried to detached leader and got an error.


Image

Contents of log file
Log date: 2013-01-27 14:07:33
[14:07:33][ee4][3]Commander: The Great War(v 1.1.4)
[14:07:33][ee4][8]Operating system: Windows 7 Service Pack 1
[14:07:33][ee4][8]Number of processors: 4
[14:07:33][ee4][3]Audio device used: Generic Software
[14:07:33][ee4][8]OpenGL 1.5: OK
[14:07:33][ee4][8]OpenGL Context version: 3.1
[14:07:33][ee4][8]OpenGL Vendor: Intel
[14:07:33][ee4][8]OpenGL Renderer: Intel(R) HD Graphics Family
[14:07:33][ee4][3]Setting vsync
[14:07:33][ee4][3]Initializing video player
[14:07:33][ee4][8]Allocating new vertex buffer
[14:07:33][ee4][3]Loading main script
[14:07:33][ee4][3]Loading app script
[14:07:33][ee4][3]Script init
[14:07:33][ee4][3]App version:1.1.4
[14:07:33][ee4][5]Today is: 27.1.2013
[14:07:34][ee4][8]Starting track: main_menu
[14:07:38][ee4][8]Creating new audio source. Count: 0
[14:07:44][ee4][8]Map loaded in 0.033sec
[14:07:45][ee4][8]Maximum texture size: 8192
[14:07:48][ee4][Warning]Scene initialized in: 3.325 seconds
[14:07:48][ee4][Warning] Memory usage: 1634308 bytes
[14:07:48][ee4][Warning] Memory allocation time: 0.001 sec
[14:07:48][ee4][Warning] Memory deallocation time: 0.001 sec
[14:07:49][ee4][8]Starting track: game2
[14:07:49][ee4][Warning]Hud initialized in:0.885 seconds
[14:07:59][ee4][8]Creating new audio source. Count: 1
[14:08:07][ee4][Error]ui/selection_tab.lua:412 ui/selection_tab.lua:412: attempt to index local 'unit' (a nil value)
[14:08:07][ee4][Error]ui/selection_tab.lua:412 ui/selection_tab.lua:412: attempt to index local 'unit' (a nil value)

Consistent error. Reload save and can repeat. Save attached with sequence in next post.
Attachments
gwdetachedleader.jpg
gwdetachedleader.jpg (14.66 KiB) Viewed 309 times
Michael
User avatar
michaelm75au
Posts: 12459
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Crash after detaching leader (v1.1.4)

Post by michaelm75au »

Auto save
French unit is one with Jaffe attached on Western front.
1. Go to unit
2. Repair it
3. Detach commander
Attachments
AutoSave.zip
(111.3 KiB) Downloaded 14 times
Michael
User avatar
michaelm75au
Posts: 12459
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Crash after detaching leader (v1.1.4)

Post by michaelm75au »

Further to this.
If you re-select the unit, the problem is fixed as the SelectUnit has been reset.
Repairing an unit appears to 'un-select' the unit. You notice the green Commander range disappears.
However, the unit still shows in the unit panel which gives the impression it is still selected.


Image
Attachments
gw detached leader2.jpg
gw detached leader2.jpg (135.43 KiB) Viewed 309 times
Michael
User avatar
michaelm75au
Posts: 12459
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Crash after detaching leader (v1.1.4)

Post by michaelm75au »

Is this a known defect? And to be fixed?
Michael
User avatar
michaelm75au
Posts: 12459
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Crash after detaching leader (v1.1.4)

Post by michaelm75au »

bump
Michael
User avatar
Lord Zimoa
Posts: 829
Joined: Fri Oct 10, 2008 12:06 pm
Contact:

RE: Crash after detaching leader (v1.1.4)

Post by Lord Zimoa »

I recall this is fixed on the upcoming patch list, but will double check, thanks for the report!
User avatar
michaelm75au
Posts: 12459
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Crash after detaching leader (v1.1.4)

Post by michaelm75au »

Same crash under the new beta 1.2.0
Attachments
Commander ..reat War.zip
(104.54 KiB) Downloaded 11 times
Michael
Myrddraal
Posts: 335
Joined: Tue Nov 13, 2012 7:41 am

RE: Crash after detaching leader (v1.1.4)

Post by Myrddraal »

Thanks for testing Michael. Confirmed bug but unfortunately not fixed yet.
Myrddraal
Posts: 335
Joined: Tue Nov 13, 2012 7:41 am

RE: Crash after detaching leader (v1.1.4)

Post by Myrddraal »

Fixed now. The fix will be in the full (non-beta) patch release.
Post Reply

Return to “Tech Support”