This results in a bad request. How is that possible?
There is no variable set by me, this is running only Unity code.
HttpException`1: (400) HTTP/1.1 400 Bad Request
await UnityServices.InitializeAsync();
await SignInAnonymouslyAsync();
var contents = await UgcService.Instance.GetContentsAsync(new GetContentsArgs());
The SignInAnonymousAsync method is here:
Unity User-Generated Content Quick Start Guide | User Generated Content | 1.0.0-pre.10 (unity3d.com)
Just to note, there is content on the server. Although clicking on each of the items will provide an error:
“Something went wrong
We weren’t able to retrieve the resource you requested. Make sure the URL you provided is correct, and that your internet connection is OK.”
How can I verify that the asset is being uploaded correctly? and is there a specific format for the data stream to be in? I am uploading json files.
Resolved by setting to visible:
Had to find this information in the CodeMonkey video ahhhhh