-
Notifications
You must be signed in to change notification settings - Fork 174
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
[BUG_SP] attempt to perform arithmetic on field 'targetX' (a nil value) #3299
Comments
All targets placed? |
Setting the target fixed the issue. I missed that entirely in the docs. Regardless, a simple mistake like that should be handled better. Locking up the entire game should absolutely not happen -- a simple warning would be preferable (I don't mod, so I don't know how possible that is). As for why unzipped: I could not get FS22 to list CP, or any mod, when loading in my save files or starting a new one. Not sure why, but it found them when I unzipped them. |
Thats totaly right. But now we know why this happens and stuff, but I wonder why the bug is still there.
Thats strange. But if you load from modhub, everything works? |
How do you manage to not have the target position set? This situation should never happen. Even when I place the target far away. |
I installed via downloading the zip from releases here on GitHub, not modhub.
That is a great question. Perhaps its an issue specifically with controller as that's what I use (xbox controller) to play with, instead of keyboard and mouse. (I don't have the game open as I write this, so please excuse any inaccuracies)
If I recall correctly, the target is also set when I set the field, hence why I didn't do it. I can let you know more tomorrow or later tonight. |
Related: #3265
Steps to reproduce
Actual behavior
Things start to break when the AI attempts to path back to the field after unloading: animations freeze, can no longer exit vehicles or move at all, camera stuck in one direction, etc.
Expected behavior
Things not to break (the AI being able to drive back to the field).
Courseplay version
Version used: 7.4.1.3
Log
log.txt
Map
Elmcreek
Vehicles/ implements involved
Which vehicle or implement? MF 7719 S, any trailer
Mod yes/no ? Just Enhanced Animals and Enhanced Loans in addition to Courseplay.
Relevant script mods
N/A. Only Courseplay.
The text was updated successfully, but these errors were encountered: