Page 1 of 1

Export Error - ETS2 1.42

Posted: Sat Oct 02, 2021 3:45 am
by Harald-RS
Hi Oleg,

i have this Error after Z-Mod export.

Code: Select all

00:00:11.623 : <ERROR> d:\buildbot\slaves\win_slave\final_build_ets2_141_e_windows_bin_steam_x64\build\prism\src\p3core\collections\arrays\arrays_base_impl.h(475): ??A?$array_t@V?$mat_t@M$03$03@prism@@@prism@@QEBAAEBV?$mat_t@M$03$03@1@_K@Z: Index outside array boundaries.
I just do not find the error

Re: Export Error - ETS2 1.42

Posted: Sat Oct 02, 2021 3:51 am
by Oleg
it looks like an array of materials is being accessed an element that exceeds the size of array. Most likely the issue is with PMD file or mismatch of PMD and PMG files.

Re: Export Error - ETS2 1.42

Posted: Sat Oct 02, 2021 4:16 am
by Harald-RS
Can i send my mod per PN?

Here are my game Log:

Here are the game.crash:

Re: Export Error - ETS2 1.42

Posted: Sat Oct 02, 2021 4:57 am
by Oleg
I afraid I can't be of any help on a mod that crashes the game. I work on laptop device and don't have any game installed here. In particular, I see quite a lot of mods installed in your game, it worth to test mods isolated if possible.

Re: Export Error - ETS2 1.42

Posted: Sat Oct 02, 2021 5:25 am
by Harald-RS
The Profile was empty only the X-Class is aktivate

I think Z-Mod swallowed something when exporting the animation file.

The way I got SCS has changed something in the steering wheel animation.

Re: Export Error - ETS2 1.42

Posted: Sat Oct 02, 2021 8:46 am
by Harald-RS
Hi Oleg,

the Problem is ETS2 1.42 under 1.41 working my X-Class Pickup

Re: Export Error - ETS2 1.42

Posted: Sun Oct 03, 2021 3:42 am
by Oleg
were you able to isolate a problematic file only? or a problematic combination?
E.g. "all original model files" + re-exorted anim.pmd/pmg file? Do you mean the "pma" file when talking about steering wheel animation?

Re: Export Error - ETS2 1.42

Posted: Sun Oct 03, 2021 8:14 am
by Harald-RS
No the Problem is the anim.pmg/pmg File.

This one is broken. Or does not work under 1.42.

Re: Export Error - ETS2 1.42

Posted: Mon Oct 04, 2021 9:22 pm
by Oleg
have you tried to load all realted .pma files and re-save them too in your mod? So, .pmg and all .pma files get updated.

Re: Export Error - ETS2 1.42

Posted: Tue Oct 05, 2021 6:24 am
by Harald-RS
No I have not done that I did not know that you have to do.

Edit:

Have I now made all pmas loaded into the track editor and saved all new?

Still gets out under ETS2 1.42

Re: Export Error - ETS2 1.42

Posted: Thu Oct 07, 2021 1:27 am
by Oleg
is this a problem with just merc's anim.pmd model? have you tried an import/export test on any other animated model to see whether it crashes the game too?

Re: Export Error - ETS2 1.42

Posted: Thu Oct 07, 2021 8:51 am
by Harald-RS
Just did it on my truck Actros 5

Tested here destroys at a re-export of the anim.pmd / pmg the animation so that the whole line sit somewhere else.

Image

Re: Export Error - ETS2 1.42

Posted: Thu Oct 07, 2021 8:55 am
by Oleg
no no, the idea was to test original game model (but other than Mercedes). just to find out whether it's merc cabin animation is that specific, or the problem is more common to other game models too on 1.42...

Re: Export Error - ETS2 1.42

Posted: Thu Oct 07, 2021 9:10 am
by Harald-RS
apparently this error affects only 100% mod trucks and cars.

When I import and re-export an original interior/animation file I do not have this phenomenon.

Re: Export Error - ETS2 1.42

Posted: Fri Oct 08, 2021 10:58 am
by Oleg
I afraid only scs guys can spot some light onto this problem, since game crash report/data is meaningless to me. Have you posted this at scs forum?

Re: Export Error - ETS2 1.42

Posted: Fri Oct 08, 2021 9:26 pm
by Harald-RS
Yes i have:

Here are the Link so SCS Thread: https://forum.scssoft.com/viewtopic.php?f=123&t=304444

Re: Export Error - ETS2 1.42

Posted: Sat Oct 09, 2021 1:44 am
by Oleg
I see other users experience the crash to desktop on 1.42 too. I suppose we should wait for some hint from scs developers, as the problem could be in some small thing we couldn't find ever unless we know explicitly at what point and why the game is crashing.

Re: Export Error - ETS2 1.42

Posted: Sat Oct 09, 2021 4:15 am
by Harald-RS
But what I noticed is that Z-Mod does not import the bones anymore

Re: Export Error - ETS2 1.42

Posted: Sat Oct 09, 2021 11:15 pm
by Harald-RS
Hi Oleg,

tried again to import the original anim.pmd / pmg I use for the W470 and then I got this error.

Code: Select all

ZModeler is ready.
Collision model file "anim.pmc" not found.
Invalid bones offset specified. Defaulting to 0x74.
Failed to detect path origin. Defaulting to "/vehicle/truck/anim"

Re: Export Error - ETS2 1.42

Posted: Sun Oct 10, 2021 12:44 am
by Oleg
hmmm.. may you pack me this model with textures and materials into single archive, so I could take a look?

Re: Export Error - ETS2 1.42

Posted: Sun Oct 10, 2021 2:12 am
by Harald-RS
I send you the Mod per PN.

Re: Export Error - ETS2 1.42

Posted: Sun Oct 10, 2021 6:21 am
by Harald-RS
I assume that SCS has changed the pmd files again because of the steering wheel degree setting.

Re: Export Error - ETS2 1.42

Posted: Sun Oct 10, 2021 7:00 pm
by Harald-RS
Hi Oleg,

I think we have found the problem.

It is because the bone "Steering_W" is missing in the animation. As soon as you add it to the animation, the game no longer crashes.

Unfortunately the steering wheel animation does not work anymore.

Re: Export Error - ETS2 1.42

Posted: Mon Oct 11, 2021 6:39 am
by Oleg
each bone has and ID and the ID of child can not be higher than ID of parent. If you "insert" "Steering_W" bone, it is likely to get an ID higher than the steering wheel itself (which is a child of it?). So the problem is with IDs of bones. Also, it is OK to load and animation for steering wheel and change the ID of associated track, so it rotates the correct bone (in case you change bone IDs).

Also, does the problem occur when you load a model? I mean, the "Steering_W" is available in a file, but is not loaded? or it is missing in a file initially?

I guess SCS removed some hierarchy validation code, the one that was able to detect missing bones for animation playback.

Re: Export Error - ETS2 1.42

Posted: Mon Oct 11, 2021 9:45 am
by Harald-RS
Now I have the ID completely new assigned and also in the pmas adjusted nevertheless I have the error after exporting now even under 1.41.

Edit:

It's now working under 1.41 the Error was the front wheel Def. in the 3D Modell