Beta 10U1 - Production bug erasing units

Stop here if you are eager to try in advance new patches!
Post Reply
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

Beta 10U1 - Production bug erasing units

Post by ncc1701e »

I think I have found this problem in 1.00.08 patch but I was unable to understand it.
Now, I have a saved game if needed and the logs.

So, here is the Deployment situation. As you can see, I have two Ground support units under construction:
VII Fliegerkorps
XII Fliegerkorps

Image
Attachments
productionbug1.jpg
productionbug1.jpg (83.84 KiB) Viewed 486 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Beta 10U1 - Production bug erasing units

Post by ncc1701e »

Now, using the Production window, I am selecting a U-47 SS Grp submarine clicking on Purchase button.

And immediately after (within the same second), I am clicking on the Undo last build button.

Image
Attachments
productionbug2.jpg
productionbug2.jpg (109.97 KiB) Viewed 486 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Beta 10U1 - Production bug erasing units

Post by ncc1701e »

But, as you can see the U-47 SS Grp submarine unit is not cancelled. It is still there.

And moreover, it has erased one of the two ground supports units under construction: The XII Fliegerkorps.

Image
Attachments
productionbug3.jpg
productionbug3.jpg (66.62 KiB) Viewed 486 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Beta 10U1 - Production bug erasing units

Post by ncc1701e »

And the logs are here:

Mono path[0] = 'D:/JEUX/Matrix Games/WarPlanBeta/WarPlan_Data/Managed'
Mono config path = 'D:/JEUX/Matrix Games/WarPlanBeta/MonoBleedingEdge/etc'
Initialize engine version: 2019.4.12f1 (225e826a680e)
[Subsystems] Discovering subsystems at path D:/JEUX/Matrix Games/WarPlanBeta/WarPlan_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce GTX 980 (ID=0x13c0)
Vendor:
VRAM: 4053 MB
Driver: 27.21.14.5709
Begin MonoManager ReloadAssembly
- Completed reload, in 0.082 seconds
D3D11 device created for Microsoft Media Foundation video decoding.
<RI> Initializing input.

<RI> Input initialized.

<RI> Initialized touch support.

UnloadTime: 1.225900 ms
Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 0.486700 ms

Unloading 69 unused Assets to reduce memory usage. Loaded Objects now: 1632.
Total: 32.625400 ms (FindLiveObjects: 0.219000 ms CreateObjectMapping: 0.032900 ms MarkObjects: 31.056100 ms DeleteObjects: 1.316900 ms)

Unloading 3 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 10.190400 ms

Unloading 3968 unused Assets to reduce memory usage. Loaded Objects now: 982.
Total: 60.258100 ms (FindLiveObjects: 1.053700 ms CreateObjectMapping: 0.210300 ms MarkObjects: 32.248800 ms DeleteObjects: 26.744800 ms)

Unloading 4 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 1.234200 ms

Unloading 82 unused Assets to reduce memory usage. Loaded Objects now: 1632.
Total: 35.756900 ms (FindLiveObjects: 0.540400 ms CreateObjectMapping: 0.035000 ms MarkObjects: 33.858600 ms DeleteObjects: 1.322500 ms)

IndexOutOfRangeException: Index was outside the bounds of the array.
at GameMenu.BuildKindScreen (System.Int32 kindStart, System.Int32 kindCount) [0x00142] in <c1596abe1bf34436ac22f9ce2d3693f2>:0
at GameMenu.Production () [0x00a1e] in <c1596abe1bf34436ac22f9ce2d3693f2>:0
at GameMenu.OnGUI () [0x00c90] in <c1596abe1bf34436ac22f9ce2d3693f2>:0

(Filename: <c1596abe1bf34436ac22f9ce2d3693f2> Line: 0)

IndexOutOfRangeException: Index was outside the bounds of the array.
at GameMenu.BuildKindScreen (System.Int32 kindStart, System.Int32 kindCount) [0x00142] in <c1596abe1bf34436ac22f9ce2d3693f2>:0
at GameMenu.Production () [0x00a1e] in <c1596abe1bf34436ac22f9ce2d3693f2>:0
at GameMenu.OnGUI () [0x00c90] in <c1596abe1bf34436ac22f9ce2d3693f2>:0

(Filename: <c1596abe1bf34436ac22f9ce2d3693f2> Line: 0)

IndexOutOfRangeException: Index was outside the bounds of the array.
at GameMenu.BuildKindScreen (System.Int32 kindStart, System.Int32 kindCount) [0x00142] in <c1596abe1bf34436ac22f9ce2d3693f2>:0
at GameMenu.Production () [0x00a1e] in <c1596abe1bf34436ac22f9ce2d3693f2>:0
at GameMenu.OnGUI () [0x00c90] in <c1596abe1bf34436ac22f9ce2d3693f2>:0

(Filename: <c1596abe1bf34436ac22f9ce2d3693f2> Line: 0)

.....

IndexOutOfRangeException: Index was outside the bounds of the array.
at GameMenu.BuildKindScreen (System.Int32 kindStart, System.Int32 kindCount) [0x00142] in <c1596abe1bf34436ac22f9ce2d3693f2>:0
at GameMenu.Production () [0x00a1e] in <c1596abe1bf34436ac22f9ce2d3693f2>:0
at GameMenu.OnGUI () [0x00c90] in <c1596abe1bf34436ac22f9ce2d3693f2>:0

(Filename: <c1596abe1bf34436ac22f9ce2d3693f2> Line: 0)

IndexOutOfRangeException: Index was outside the bounds of the array.
at GameMenu.BuildKindScreen (System.Int32 kindStart, System.Int32 kindCount) [0x00142] in <c1596abe1bf34436ac22f9ce2d3693f2>:0
at GameMenu.Production () [0x00a1e] in <c1596abe1bf34436ac22f9ce2d3693f2>:0
at GameMenu.OnGUI () [0x00c90] in <c1596abe1bf34436ac22f9ce2d3693f2>:0

(Filename: <c1596abe1bf34436ac22f9ce2d3693f2> Line: 0)

Unloading 3 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 9.407500 ms

Unloading 3968 unused Assets to reduce memory usage. Loaded Objects now: 982.
Total: 67.689800 ms (FindLiveObjects: 1.536800 ms CreateObjectMapping: 0.225600 ms MarkObjects: 35.728800 ms DeleteObjects: 30.198200 ms)

Unloading 4 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 2.999000 ms

Unloading 82 unused Assets to reduce memory usage. Loaded Objects now: 1632.
Total: 51.962700 ms (FindLiveObjects: 1.474300 ms CreateObjectMapping: 0.086100 ms MarkObjects: 48.973900 ms DeleteObjects: 1.427700 ms)

Unloading 3 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 10.485700 ms

Unloading 3968 unused Assets to reduce memory usage. Loaded Objects now: 982.
Total: 67.852400 ms (FindLiveObjects: 1.407800 ms CreateObjectMapping: 0.288600 ms MarkObjects: 35.511400 ms DeleteObjects: 30.644100 ms)

Setting up 6 worker threads for Enlighten.
Thread -> id: 13d50 -> priority: 1
Thread -> id: e3cc -> priority: 1
Thread -> id: 15514 -> priority: 1
Thread -> id: b5bc -> priority: 1
Thread -> id: 116bc -> priority: 1
Thread -> id: 11050 -> priority: 1
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12102
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Beta 10U1 - Production bug erasing units

Post by AlvaroSousa »

And that helps. I see the errors.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12102
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Beta 10U1 - Production bug erasing units

Post by AlvaroSousa »

Wait is this the 1.00.08 or 1.00.09 patch?
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Beta 10U1 - Production bug erasing units

Post by ncc1701e »

This is the current beta 10U1. I will send you the save game.
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12102
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Beta 10U1 - Production bug erasing units

Post by AlvaroSousa »

Is this an older game or a 1.00.09 scenario?

Testing right now!
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12102
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Beta 10U1 - Production bug erasing units

Post by AlvaroSousa »

Ok so I think this must have been a 1.00.081 scenario that was started and at that time shipyard ID data was an issue. I can't replicate the error with your game in 1.00.09.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12102
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Beta 10U1 - Production bug erasing units

Post by AlvaroSousa »

But it is now doing something different. Investigating
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Beta 10U1 - Production bug erasing units

Post by ncc1701e »

ORIGINAL: AlvaroSousa

Ok so I think this must have been a 1.00.081 scenario that was started and at that time shipyard ID data was an issue. I can't replicate the error with your game in 1.00.09.

I have as usual copy the beta game engine here:

***Matrix Version***
Beta Game - https://drive.google.com/open?id=1dVFxg ... BeE4fka9e1
Location - Default game location folder which is usually.... C:\Program Files (x86)\Matrix\WarPlan

And the scenarios located here:

Game Scenarios - https://drive.google.com/open?id=1nN74o ... UMz_Ispjru
Location - C:\Users\"your user name"\Documents\My Games\WarPlan\Campaigns

So for me everything is Beta 10U1.

I will redo the copy and load my game.
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12102
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Beta 10U1 - Production bug erasing units

Post by AlvaroSousa »

I found the 2nd problem and fixed it.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Beta 10U1 - Production bug erasing units

Post by ncc1701e »

Super thanks Alvaro!
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
Post Reply

Return to “WarPlan Open Beta Versions”