An actor component has stopped working in standalone build!

Hello

I was working away on my game and suddenly the interact component on my character has stopped working. All the functionality of it was gone. I used is valid to check it and it was reading true. Tried printing string on its Tick but nothing came. I deleted the component off my character and readded. That made it work again in PIE and editor testing, but still standalone build is completely broke. I’m at a loss.

I migrated my whole project over to a clean project and it still persists.

Need help figuring this out thanks

EDIT: It got worse i restarted my computer now it doesnt work in editor builds either

Is this a Blueprint only project or Cpp/Blueprint? Sounds like a compilation error.

Its blueprint but it does feel like somethings gone very wrong in the compiling

hi, which unreal version is this? and when you mean component won’t work meaning, is it going invalid in standalone build?

Hi, it is 5.6. I have few components on my player character like a UI_Component and an Interact_Component etc that do various important things. Suddenly the interact one stopped doing its functions completely. In the standalone build at first but then it affected any way I tried to play.

I put a print string on tick and nothing would happen. The component was still valid. I deleted it and replaced it and it wokred again in PIE for a bit but stopped wokring again. I tried forcing it’s functions to run from the players tick itself and it would spit out weird behaviour (ie. I have passive line trace on the interact component and If I used the players tick to call this function in the component it would spit out true/false/true/false for the hit detection).

I decided to rebuild the project from scratch (luckily I have clean versions of the core components and systems I’d made in another project) and had to redo a bunch of other stuff. Not fun but I am back in a working project and will be making backups as I go from now on!

I highly recommend source control! I personally use Plastic (now its Unity DevOps but still same app). It’s fairly cheap for me. ~$10/m total for 3 developers and around 50gb worth of projects in my repos.

what i am unable to understand is that, component is valid but functions don’t work meaning? when you call certain functions of that component, they are not firing? have you tried putting print strings to them?