-
Notifications
You must be signed in to change notification settings - Fork 1
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
Aviation Lights *may* be involved on a weird bug report on Forum #4
Comments
So… That's my current working theory: Recently, I replaced a dumb
and later:
A chained HOWEVER this code relies that the If by any reason this is not happening, then I may be calling the wrong So commit df04eb8 added some DEBUG boiler plate to detect if I'm calling the wrong |
Tested the thing on KSP 1.4.3.
However, this only happened once and not an awful amount of time, as one should expect. So what's happening is that the Scene is being switched before the DAMN!!! |
Yep, it's happening too on 1.12.5
However, this is also being logged only once, what means that the Additionally, double checking the code it only depends of the BUT… Depending in how things work inside KSP, it's possible that some thread could had destroyed the GameObject before the It's a looooooong shot, but right now it's the only plausible explanation I could pull from my ass. |
I installed Kopernicus on the rig, but nothing changes from my side. But I found some interesting exceptions from it:
This Exception DO NOT happens on the user's rig. This can be completely unrelated (and probably it is), but I'm blind and deaf, shooting in the dark hoping that something screams in the process... |
…, that there's something to be mitigated at all…
Well, out of desperation, I tried the commit 94357f3 . The ERROR entry mentioned some posts above is no more, what means that I effectively prevented the wrong It's absolute unsure at this time if this will do any good on the field, but at least the damned entry log was supressed so at least i can guarantee I'm not contributing to the problem neither. let's see what the user will say about. evidence of success: KSP.log (no ERRORs from Aviation Lights) |
Oukey, feedback time. My little stunt paid off!! :)
And I think the user is right! See next post. |
The user have a i7-12700F (pretty decent), and this thing have two kinds of "cores" inside: 8 cores for Performance, and 4 cores for "Economy". The E-Cores are slower than the P-Cores, but KSP was coded on a time where every single Core inside your CPU was the same, so KSP is just using whatever is idle at the moment without caring about the differences. So, suddenly, KSP is getting some internal threads running "out of the pace" related to some others (depending in which Core the threads is running at the moment). So, as you add more and more add'ons, the KSP internal loops start to get fatter and fatter, and if some one of these fat internal loop ends up running on a E-Core, some things start to happen out of the pace compared to the loops that runs on the P-Cores (it's the reason I hate how Unity handles threads, and KSP handles concurrency - had these guys did the job properly, we would not be suffering this problem now). By getting a bigger processor, you will have twice the E-Cores - what essentially doubles the chances of things going south (because you will have twice the number of threads running on slower cores). Believe it or not, the better is the processor your have, the worst is the problem for you. "Vai dormir com um barulho desses…" as we say around here… (something like "Go figure it out…"). Going back to About the problem being intermittent, perhaps only a few specific worker threads of KSP plays havoc when running on a E-Core, and so every time you startup KSP, we get a Russian Roulette about the subject. Unfortunately, AL is only one of the possible targets of the problem - others will surely suffer the same. |
Closing this and proceeding with releasing Aviation Lights 4.2.1.1 as RELEASE. |
…e it should not be - see net-lisias-ksp/AviationLights#4 for the reason (damnit, Squad!)
…e it should not be - see net-lisias-ksp/AviationLights#4 for the reason (damnit, Squad!)
…e it should not be - see net-lisias-ksp/AviationLights#4 for the reason (damnit, Squad!)
…e it should not be - see net-lisias-ksp/AviationLights#4 for the reason (damnit, Squad!)
Fellow Kerbonaut exospaceman reported on Forum:
User wasn't able to switch scenes to Tracking Station, unless by returning to Space Center and launching a craft.
I'm puzzled, and so asked the user to start to rip off add'ons in order to see if we find who was triggering the problem. And what wasn't my surprised when they answered Aviation Lights!! o.O
I'm not seeing how this could happen, but an evidence is an evidence. So I opened this issue to investigate the problem.
The text was updated successfully, but these errors were encountered: