F1 World: Integer underflow causing upgrades to become impossible.
Product: F1 23
Platform:Steam-PC
Please specify your platform model. PC
Summarize your bug A combination of a certain team member and perks is causing parts to become impossible to upgrade due to an integer underflow. As the value seem to be stored in an unsigned integer, this causes an integer underflow.
What is your 16 digit Report Code? STDJ-GVHJ-PPHK-ESME
Can you please provide the name of your current internet service provider? N/A
Which area is the bug/glitch in? Single Player
Steps: How can we find the bug ourselves? Have a team member with the "Lower cost to boosting Car Parts (LVL 2)" perk and attempt to upgrade an item
What happens when the bug occurs? Integer underflow causing the upgrade price to become 4.29b credits
What do you expect to see? Expecting the normal price of 4,500 credits (or below as the perk is supposed to lower the cost).
A combination of a certain team member and perks is causing parts to become impossible to be upgraded due to an integer underflow of the upgrade price.
As the upgrade price seemingly is being stored as an unclamped and unsigned 32-bit integer and the "Lower cost to boosting Car Parts (LVL 2)" are likely to subtract a larger number than the initial upgrade price, this results in an integer underflow/roll over and causing the price to become 4.29b (4.294,96x,xxx) credits.
Note the cost of the upgrade when underflow has occurred:
If the team member with the "Lower cost to boosting Car Parts (LVL 2)" perk is replaced on the other hand, the price is restored: