Added project to Source Control Not it won't rebuild and can't compile 4-26

Here is the error

Severity Code Description Project File Line Suppression State
Error MSB3073 The command C:\Program Files\Epic Games\UE_4.26\Engine\Build\BatchFiles\Build.bat TycoonSourceEditor Win64 Development -Project=C:\Users\Greg\Perforce\myworkspace\TycoonSource.uproject -WaitMutex -FromMsBuild exited with code 6. TycoonSource C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 45

The project works fine on my local computer but when I upload to source control (Perforce) I can not rebuild project at all

99d5b8eca47135570223728ce6712011

How can i fix this?

The error you’re copy-pasting is a follow-on error. You have to scroll back up in the log and figure out what the actual root error is.
Chances are, some files that are necessary, didn’t get checked into source control. Or, slightly less likely, some file that needs to be generated, was checked in as read-only, and can’t get re-generated.

I think its an engine code plugin that is included in the build causing the issue. How would I fix it so it can get re-generates?

Do i got to the file and check it in as writeable?