Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[469c] Engine use StandingCount without init it #1341

Closed
SeriousBuggie opened this issue Aug 8, 2023 · 4 comments
Closed

[469c] Engine use StandingCount without init it #1341

SeriousBuggie opened this issue Aug 8, 2023 · 4 comments
Labels
bug This is a confirmed bug internal-fam
Milestone

Comments

@SeriousBuggie
Copy link
Collaborator

Map can come with set StandingCount on actors and movers. This can destroy internal engine logic.

Suggested set this value to proper value. Possible it be just zero, or maybe need iterate over all actors, find how many based on this actor and set StandingCount to this count.

I see on some maps StandingCount goes to be 255, which make Movers bugged.

@SeriousBuggie
Copy link
Collaborator Author

Proper solution must count Based Actors and use this number, since in map Base can be too set.

@SeriousBuggie
Copy link
Collaborator Author

Possible affected maps (dirty check, can be StandingCount zero, when some actors in editor set Base to not None):

Binary file ..\Maps\CTF-'FTB-BigBallz.unr matches
Binary file ..\Maps\CTF-(PumpkinDelivery)-B1.unr matches
Binary file ..\Maps\CTF-BigBalls][.unr matches
Binary file ..\Maps\CTF-BigBallsIII.unr matches
Binary file ..\Maps\CTF-BoS-PoolFun-V1.unr matches
Binary file ..\Maps\CTF-LS_AFL_Footy.unr matches
Binary file ..\Maps\CTF-XV-Bania-v824-v1.unr matches
Binary file ..\Maps\CTF-XV-ClockTowersV0.unr matches
Binary file ..\Maps\CTF-XV-SummerVillagesV2.unr matches
Binary file ..\Maps\CTF-XV-TheGrandCanyonV0.unr matches
Binary file ..\Maps\CTF-XV-XtremeCraterV0.unr matches
Binary file ..\Maps\CTF-{}GDI{PLAYROOM.unr matches

@SeriousBuggie
Copy link
Collaborator Author

Can be ignored for bStatic || (bNoDelete && !bMovable) actors, since StandingCount used only on delete or move actors.

In fact can be done by few easy loop, on map load. In first one - set all StandingCount to zero for all actors.
On next one - iterate over all actors, if on some Base not NULL - increase StandingCount on base.

@stijn-volckaert stijn-volckaert added enhancement Feature request UnrealEd This is an issue in Unreal Editor labels Aug 23, 2023
@SeriousBuggie
Copy link
Collaborator Author

SeriousBuggie commented Aug 26, 2023

Example of this bug.
How it must work:

smooth_lift.mp4

How it work with bug:

chopped_lift.mp4

You can even fall down from such lift if it enough fast:

fall_down_.mp4

@SeriousBuggie SeriousBuggie added bug This is a confirmed bug internal-fam and removed enhancement Feature request UnrealEd This is an issue in Unreal Editor labels Nov 14, 2023
@stijn-volckaert stijn-volckaert added this to the 469e milestone Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a confirmed bug internal-fam
Projects
None yet
Development

No branches or pull requests

2 participants