Summer Work (Day 5)
Unreal Hangups
As seems to be tradition now, one thing has been fixed but another has broken. I managed to fix what I thought was everything, but regardless it would not compile. Turns out the problem with the loop for the functions was that I didn't #include "CelestialBody.h" and so the declaration of that private variable was not recognised. Additionally, I had the correct logic for the getting all actors with a TObjectIterator instead of TActorIterator as I had yesterday. There were no red squiglys so I thought I was all good, but unreal had different plans.
When I compiled, it threw errors with it's own source code. It kept saying something was wrong with UObjectIterator which I hadn't touched. This led me on a wild goose chase looking up error codes, error messages, and anything else I thought was important. I also looked into the source code to see if I was able to fix it myself but everything seemed ok to me. I then looked into the history of that file in source control to see if someone had committed the source code with an error. This wasn't the case though as the last change to it was in December of last year. Until tomorrow the cause of the error is a mystery.
Comments
Post a Comment