Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline i^love^mixery  
#1 Posted : Thursday, March 14, 2019 9:05:24 PM(UTC)
i^love^mixery
Colonel
Joined: 10/13/2008(UTC)
Posts: 782

Thanks: 7 times
Was thanked: 201 time(s) in 147 post(s)
Hello,

Just today I found out, what the cause for seemingly random "Serious Error" crashes is.

Some of you might have seen this. Common thing in many big-scale AOD maps or when you watch Replays of big matches from huge heights using the higher gentool zoom limit:
"Serious Error" out of nowhere and one of the players starts "counting down", as his game crashed.

This is not related to the map at all, at least not directly.

This is an engine bug and related to the amount of units that are currently (in any FRAME) being displayed.

In depth explanation: Units in Zero Hour have 2D and 3D shadows. Shadows are made out of polygones (or some *censored* like that). 3D shadows are, depending on the unit type, sometimes a little more complex.

The overall amount of 3D shadow polygones that can be displayed in any given frame is limited by the engine (probably a data type limitation).

So if the units that are currently on screen combinedly exceed a specific amount of 3D shadow polygones, the game will crash with the serious error.

This will also happen in with worldbuilder (if View -> Shadows is enabled) and there you get an interesting error message (which is attached to this post)

To fix this: SIMPLY DISABLE THE FREAKING 3D SHADOWS IN THE INGAME OPTIONS Big Smile Thumb Up

Edited by user Thursday, March 14, 2019 9:19:16 PM(UTC)  | Reason: Not specified

i^love^mixery attached the following image(s):
asdasdasdasdasd.png
thanks 1 user thanked i^love^mixery for this useful post.
The splat on 7/3/2019(UTC)
Sponsor
Offline Unknown Editor  
#2 Posted : Thursday, March 14, 2019 9:59:29 PM(UTC)
Unknown Editor
Major
Joined: 3/22/2017(UTC)
Posts: 278
Location: Some where on Earth

Thanks: 123 times
Was thanked: 69 time(s) in 59 post(s)
I have also been given that error in world builder and the worst is the fact that what ever you do next , it can not be ignored but must be aborted .
But I mean I had my sight too high I could almost see +4000 objects at once and then crashed .
Do we ever even reach a certain number of displayed objects close to that in game ?
Asking is Not a Problem , Problem is Not to Know Something .

Operation : Dark Angel
Static : Launch Delayed
Reason : Uncool Terrain - Old Logic in use - Lack of Performance
Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300%
Offline i^love^mixery  
#3 Posted : Thursday, March 14, 2019 10:08:09 PM(UTC)
i^love^mixery
Colonel
Joined: 10/13/2008(UTC)
Posts: 782

Thanks: 7 times
Was thanked: 201 time(s) in 147 post(s)
As I said, it does not depend on the unit count!

It depends on their shadows.

Depending on the complexity of the shadows of the on-screen-units, this will take A LOT less than 4.000 objects.

Very large scale AOD maps tend to crash because of this. Or noob games with no rush where everybody has tons of money.

Edited by user Thursday, March 14, 2019 10:08:44 PM(UTC)  | Reason: Not specified

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.