Cloud Build Issue: Unrecognized Project - Project Subdirectory

I get this error in the cloud build:

1: warning: inexact rename detection was skipped due to too many files.
2: warning: you may want to set your diff.renameLimit variable to at least 1188 and retry the command.
3: Error: unrecognized project! Please check your app configuration - if this is a Unity application, We expect your "Project Subdirectory" to be set to the path which directly contains the ProjectSettings and Assets directories. For a native app, this should be set to the path which directly contains the project file (.xcodeproj, project.properties, etc).
4: Finished: FAILURE

I tried doing the following formats:

My ProjectSubdirectory

My ProjectSubdirectory/

/My ProjectSubdirectory

All three gave me this error. What am I supposed to do here? What is the correct format? Are spaces not allowed? I’m using a git repo.

Moved my subfolder to become a rootfolder in git because that seemed faster and easier. Still, it would be nice to get a reply regarding this.