Sometimes C++ component won't run the tick. You can google it out, and everyone would have very different solution. Tried them all, and it still won't tick.
Only one thing left to do. Recreate the code. So that's what I did. Recreate a new Actor Component, and copy pasted all the custom codes as-is so everything pretty much matches the old one. Recompile. And it works.
Two Actor component in the map, running, one of them ticks, the other doesn't. Go figure.
I wonder if this is a bug in Unreal Engine 4.21 preview 1? Doesn't seem to be, a lot of people seem to have the same issue dating back to 2014
No comments:
Post a Comment