Incorrect "Because you are not a member of this project this build will not access Unity services"

Hi there!

When trying to make a player build (for Android in this case), I’m getting this warning:

“Because you are not a member of this project this build will not access Unity services”

This is annoying because I AM a member (owner) of the project. If I restart the editor I can make a playerbuild without getting the warning, so this is my workaround, but it is very annoying that I have to do this every time I want to make a build.

I suspect it has something to do with me logging in as a test player while in playmode using Unity Authentication, but I expect that when I go out of playmode, the editor “remembers” that it’s me: the owner of the project, and not some test player.

Does anyone have experience with this or a way to fix this?

Thanks for helping out!

Try signing out in the Hub and then back in. You can also try revoking and refreshing the license.

Player Authentication is a different system than Unity accounts, so it’s safe to assume this is not related.

Hi @CodeSmile

Thanks for reaching out! I have tried signing out and in the Hub, but that did not help. From the Hub, I went to Profile Image > Manage licenses and refreshed that list, but I doubt that this is what you meant with “refreshing” the license.

If me using all sorts of Unity services in my game and the “because you are not a member…” message are unrelated, why would an editor restart help “fix” the issue? Am I just “kicked out” of my own project after using the editor for an x amount of time? :sweat_smile:

If you have any more suggestions, please let me know but thanks for your help so far!

After upgrading to Unity 6.2 and clearing my Library folder, the issue remained.

However, for anyone running into this issue, I managed to resolve it by unlicking and re-linking my project in Project Settings > Services.

Edit: I have to do this frequently, but it does mean I don’t have to restart the editor ..

Edit: This doesn’t always work … so sometimes I do have to resort to restarting the editor

Hi @CodeSmile

After upgrading to Unity 6000.2.12f1, the workaround of unlinking and relinking my project doesn’t always work anymore. Do you have any more suggestions? I’m getting tired of having to do the workaround and now even sometimes to restart the editor just to make a build :tired_face:

just looking at the sources, here is the error message,
now sure if could somehow override or debug with that info:

I have been getting the same message. It went away after i changed the company name in plater settings to my web site address.

Same problem. If I do not enter the play mode, and just build the app for Android, there is no problem.
But if I play my game in the editor for some time, I can’t build anymore without getting this error.
The only solution I found is to restart the editor, and do not enter the play mode.
Sometimes I even have to open the Services window to refresh it for it to work after restarting the editor.

I just remove the whole cloud organization entry from the project settings file. My experience this crap feature has never properly worked and is continuesly throwing nonsense errors.

Dog fooding and what not…

Upgraded to Unity 6.3, still have to unlink/relink project every time I want to make a build and have been in playmode at least once.

I can’t imagine anything other than logging into a unity authentication account in playmode is somehow overriding the account that is used in the editor to check if I’m allowed to make a build.

It would be great if this can be looked into a bit more.

I’m sorry to hear that. Apparently you’re not alone, though this thread (as far as I’m aware) is the only mention of that issue, meaning it doesn’t seem too widespread.

I’m guessing it may be related to the account itself, or team settings, since cosmochristo mentioned changing the company name fixed it. I wonder if perhaps this may be related to a string with special characters that Unity doesn’t properly escape, thus breaking some checks.

My other hunch: a Unity account can have team members. Perhaps you may have to assign yourself to your accounts team? Also check the Cloud Dashboard to see which team members are assigned to the project, and which you can assign.

Worth trying a blank project and building that. Same issue, or fine? In the former I’d suspect a general account misconfiguration (though it may not be obvious) and in the latter, you could diff that project’s cloud dashboard team members with the project you have troubles with. Also diff the ProjectSettings/*.assets that store account or cloud information, might also provide a clue.

Hmmm … I was making builds over builds trying to find the right angle to prevent some types from getting stripped when this appeared out of the blue:

Clicking “Yes” did make the build. The message didn’t appear again for subsequent builds. Might just be something that just happens intermittently due to a network issue.

Hi @CodeSmile,

Thanks for your input! I personally never tried to make the build because my game heavily depends on Unity Services and the warning says “this build will not access Unity services”.

I will look into the suggestions you mentioned in your previous post soon and report back here.

Also just reporting back: yesterday that popup message came back again and then it stuck around for every build.

I checked the project’s cloud dashboard, added a group and removed it again, couldn’t find anything obviously wrong in there. Though I have two members listed: my actual account and what seems to be my “organization” account that uses a defunct email. I didn’t even know that still existed, let alone is connected to my account.

Could be related or not. In any case, today I haven’t run into that issue again in the same project. I’m hoping this was just some service outage on Unity’s side triggering that issue.

Happened to me and I had to unlink/relink. Please file a bug.

Just here to say that I am indeed a member of my own project, and I would like Unity to acknowledge that in perpetuity.

hapens every now and again to me on Unity 2022.lts I build to android so It never bothers me, but it is disconcerting..

I have no ryhm or reason to it. Comes and goes every few weeks for a day or so…I think I relaunch my project and it goes away. Anyway, FYI…

No solution???

The same bug is happening to me on 6.4 where it says I am not a member of my own project. Thanks for the tip about not running playmode, I was able to use that workaround for now. It makes me think OP’s hunch about logging in as a player using Unity Authentication could really be related.

It’s also been my experience. Over the past 4 weeks, every so often it starts nagging me. Sometimes I dismiss the dialog, immediately click build again and the message won’t pop up anymore. Other times it never stops popping up until closing the project.

My hunch is that it’s most likely to occur after the computer had went to sleep with the editor and project open. This also logs various service/webrequest exceptions after waking up, so perhaps there’s a relation.