Page 1 of 1

Bug - unit disapear

Posted: Fri Jan 01, 2021 1:27 pm
by Kyrian
First of all Happy New Year!

During invasion of France the following happened to me:
- A French unit appears to be a ghost in the sense that I could not attack it despite having unit next to it with operation points to attack
- I move on that French unit with one of my German Armor division to see what would happen and it works but the strength/operation points on my unit got overlayed with the former French unit somehow
- I then move my armor unit to another location and it disappeared
- I checked in the report, among all the Germans units and there was indeed only 1 armor unit instead of the original 2 when starting the 1939 campaign.

Players should report here if they experienced similar issues.
I hope Alvaro can find the origin of this bug although I am not sure what triggered it....

RE: Bug - unit disapear

Posted: Fri Jan 01, 2021 1:40 pm
by ncc1701e
Don't wait. Please save the following files.

Error game logs are here
C:\Users\"your user ID"\AppData\LocalLow\Kraken Studios\WarPlan\output_log.txt
C:\Users\"your user ID"\AppData\LocalLow\Kraken Studios\WarPlan\player.log

In the player.log, look for out of bound exception or things like that.

You are playing with the v1.00.091 official patch, correct?

RE: Bug - unit disapear

Posted: Fri Jan 01, 2021 1:59 pm
by gwgardner
You should also send the save file from just before the incident. Zip it and attach here or upload to wetransfer and post the link. Post instructions on which unit, and how to reproduce the incident.

RE: Bug - unit disapear

Posted: Fri Jan 01, 2021 3:44 pm
by AlvaroSousa
I know what happened. I just need to know why it happened. Also details like hexes, vs A.I., PBEM, etc.

RE: Bug - unit disapear

Posted: Fri Jan 01, 2021 9:31 pm
by Kyrian
It was against A.I (allied) and the hex was (145,53) I think

RE: Bug - unit disapear

Posted: Sat Jan 02, 2021 12:38 am
by AlvaroSousa
vs A.I.

who attacked who?
Did you land in France in 1944?
I need details on what happened to trace the error.
Was there a failed invasion, attack, hold, retreat action?

There are lots of combat functions that do specific things. Anyone of them could have bombed.

RE: Bug - unit disapear

Posted: Sat Jan 02, 2021 12:47 am
by Bronze
I too have had this happen several times, mostly in Northern Africa - makes for a much more even game against the A.I. [:)]

RE: Bug - unit disapear

Posted: Sat Jan 02, 2021 1:53 am
by AlvaroSousa
Need to post the log and pay attention when this happens under what conditions so I can find the error.

RE: Bug - unit disapear

Posted: Sat Jan 02, 2021 2:18 pm
by Kyrian
It was Germany (me) against France (AI) in 1940.
How do I post the log?
I try copying it here and I am not allowed to post

RE: Bug - unit disapear

Posted: Sat Jan 02, 2021 3:03 pm
by AlvaroSousa
I emailed you back. I suspect it might be a player move timing issue due to Unity engine and how I have to navigate controls. I never have this problem but I move units around slowly. If someone moves units quickly it might cause this.

At least that is my suspicion.

Also what version do you have?

RE: Bug - unit disapear

Posted: Wed Jan 06, 2021 3:29 pm
by coreymas
I just had this happen too... i have attached the contents of my log file since i cannot upload anything here:

Moving an Armored Corps from 143, 58 to 143, 57

Version of game.. latest patch.

Mono path[0] = 'E:/SteamLibrary/steamapps/common/WarPlan/WarPlan_Data/Managed'
Mono config path = 'E:/SteamLibrary/steamapps/common/WarPlan/MonoBleedingEdge/etc'
Initialize engine version: 2019.4.12f1 (225e826a680e)
[Subsystems] Discovering subsystems at path E:/SteamLibrary/steamapps/common/WarPlan/WarPlan_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce RTX 2070 (ID=0x1f07)
Vendor:
VRAM: 8031 MB
Driver: 27.21.14.6079
Begin MonoManager ReloadAssembly
- Completed reload, in 0.096 seconds
D3D11 device created for Microsoft Media Foundation video decoding.
<RI> Initializing input.

<RI> Input initialized.

<RI> Initialized touch support.

UnloadTime: 0.469100 ms
Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 0.204800 ms

Unloading 69 unused Assets to reduce memory usage. Loaded Objects now: 1631.
Total: 30.289700 ms (FindLiveObjects: 0.166800 ms CreateObjectMapping: 0.033300 ms MarkObjects: 28.883200 ms DeleteObjects: 1.206200 ms)

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

Unloading 3987 unused Assets to reduce memory usage. Loaded Objects now: 982.
Total: 55.563300 ms (FindLiveObjects: 0.758900 ms CreateObjectMapping: 0.309500 ms MarkObjects: 28.903900 ms DeleteObjects: 25.590500 ms)

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

Unloading 82 unused Assets to reduce memory usage. Loaded Objects now: 1631.
Total: 32.326400 ms (FindLiveObjects: 0.459200 ms CreateObjectMapping: 0.041600 ms MarkObjects: 30.603600 ms DeleteObjects: 1.221500 ms)

NullReferenceException: Object reference not set to an instance of an object
at LandObj.EndMove () [0x00124] in <952238ecad714e479b1cdecacf80c1fb>:0
at LandObj.MoveUnit () [0x006c2] in <952238ecad714e479b1cdecacf80c1fb>:0
at LandObj.Update () [0x0006d] in <952238ecad714e479b1cdecacf80c1fb>:0

(Filename: <952238ecad714e479b1cdecacf80c1fb> Line: 0)

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

Unloading 4122 unused Assets to reduce memory usage. Loaded Objects now: 982.
Total: 91.345800 ms (FindLiveObjects: 1.323900 ms CreateObjectMapping: 0.288600 ms MarkObjects: 31.457100 ms DeleteObjects: 58.275900 ms)

Setting up 3 worker threads for Enlighten.
Thread -> id: 47e0 -> priority: 1
Thread -> id: 4ffc -> priority: 1
Thread -> id: 42ac -> priority: 1


NOTICE THE NULL REF EXCEPTION... :)

RE: Bug - unit disapear

Posted: Wed Jan 06, 2021 6:57 pm
by AlvaroSousa
Definitely when you moved. Can you describe me the map, where you moved to the terrain how many operation points left.

I am trying to nail this down.

RE: Bug - unit disapear

Posted: Wed Jan 06, 2021 7:31 pm
by AlvaroSousa
Do you play fast? Like super fast or take your time?

RE: Bug - unit disapear

Posted: Thu Jan 07, 2021 12:35 pm
by coreymas
It was my first move for my armored unit so i had full operation points left.
Weather was snow (it happened in early Jan)
was moving from Rotterdam to Antwerp.

I was not play that slow... i think i had just moved an infantry unit beforehand.

Now that i think of it... there was a weird display on the unit... like there was another unit underneath it .. it looked shadowed.

Hope that helps...

Corey