C# Aurora > C# Bug Reports

v1.50 Bugs Thread

(1/24) > >>

Steve Walmsley:
Please post bugs in this thread for v1.5 (out shortly)

Please check the Known Issues post before posting so see if the problem has already been identified. 'Me too' posts for unresolved bugs are fine as it shows they are affecting more than one person. Any extra information you can provide in 'me too' posts is very welcome.

When you post, please post as much information as possible, including the function number, the complete error text, the window affected, what you were doing at the time, if this was a conventional start and if this was a random stars game. Also if the bug is easy to reproduce, intermittent or a one-off. If this is a long campaign - say 75 years or longer - let me know the length of the campaign as well.

Wieseltrupp:
Orbital Habitats dont get counted towards the Population max except on the homeworld

I created a testgame with orbitals on a moon, dwarf planet and an asteroid, combinations with space port, cargo stations and the like do not make a difference

Windows
Fresh Install 1.0, Update to 1.4
Already existed in an 1.0 -> 1.1 -> 1.2 -> 1.3 install

since noone reportet anything like this in the bug report thread i post this here and test it on 1.5 again

UberWaffe:
Didn't get to post in the 1.  4 thread. 


--- Quote from: Steve Walmsley link=topic=10715.  msg123201#msg123201 date=1586962053 ---
--- Quote from: Elouda link=topic=10715.  msg123056#msg123056 date=1586942059 ---The 'Load Previous' and 'Second Stage' dropdown boxes in the Missile Design page are linked, meaning when you try to select a missile to use as a second stage it loads the values of that missile, overwriting everything else. 

--- End quote ---

Reproduced but haven't figured it out yet :)

This bug is second only to Compressed fuel storage in annoyance value.   I removed the code behind it and even deleted the box and replaced with a brand new one with a new name.   Same problem :)  I'll come back to this later. 

--- End quote ---
Going to have to do some speculation here, but this may help. 

Assumption:
You are passing the same list / array object to both dropdowns.   Or are setting both lists from the same source (Ex:
--- Code: ---var a = SomeQueryResultFromDb.ToList(); var b = SomeQueryResultFromDb.ToList();
--- End code ---
)
This results in both lists effectively being the same thing (i.  e.   pointers to same memory location of actual primitives.  )
The dropdown UI elements set some variable in the list of objects to true to indicate which one is selected.   Since both (inadvertently) point to the same list, they both share the same 'select'. 

Solution (If assumptions are true):
Do a deep copy of the list before assigning it to the second dropdown. 

--- Code: ---var a = SomeQueryResultFromDb.ToList(); var b = SomeQueryResultFromDb.Select(existingDesign => new MissileDesign(existingDesign.Id, existingDesign.Name)).ToList();
--- End code ---


Unrelated minor (non-fatal) UI bugs:
In the Ground Forces window, in the Unit Class Design tab, if you click the first entry (The headers) of the list, you get error #2608 and #1838 "Object reference not set to instance of object.  " in both cases. 

Note: This is from the 1.  3 version, but I haven't seen anyone else mention it.   (Also very minor, so only really reporting it for keeping track.  )

Ektor:
Steve, I'm continuing from the 1.4 thread since it got locked. This was our exchange:


--- Quote from: Me ---    I have the following issue:

    I'm adding an army through SM, I've created a brigade with four battalions and two artillery batteries. Now, as far as I know, formations under the same parent formation can support each other, and indeed, one infantry battalion, when dragged on top of another, gives support, however, I want the artillery batteries to support the infantry battalions, but whenever I drag them over to add suport, they are added as a sub-formation of the battalion. In practice, the artillery battery gets attached to the infantry battalion.

--- End quote ---


--- Quote from: Steve ---Is the artillery battery attached to the same parent formation when you drag it over the infantry formation?
--- End quote ---

The answer is yes.

AlitarSemiramis:
Posted in V1.40, but still exists in V1.50 (just tested):

In the Industry tab, if you queue several things (Queue C1, Queue C2, Queue C3...), and then you remove one item, you can't move items up or down on the queue if they would go "over" the removed item. So if you remove C5, then you can't move up in priority C6, or down in priority C4.

Navigation

[0] Message Index

[#] Next page

It appears that you have not registered with Aurora 4x. To register, please click here...
There was an error while thanking
Thanking...
Go to full version