We have been attempting to make use of the avatar creator in our WebGL project and have some questions regarding its integration:
Like in the feedback post here (RPM Avatar Creator feedback), we would also like to know:
- Should it be possible to change the gender of an avatar after it has been created through the API or avatar creator?
- Should there be a way to see other avatars associated with a user?
Is there an update to the WebGL template and sample/SDK?
- The UrlConfig class has no way to specify the avatar ID to modify.
- Attempting to call the WebFrameHandler.Setup() method more than once causes the WebInterface to be invisible and behave incorrectly after being hidden and attempt to show again.
- reloadUrl does not appear to be present in builds, so we are unsure if that would have helped any.
- What is the correct process to reload the WebInterface more than once with different settings?
In case we missed it in the documentation of the API:
- Is there a way to query for all of the avatar IDs associated with a user?
- Is there a way to query the users associated with our subdomain?
- Are there any other APIs available that are not currently mentioned in the documentation?
Ended up adding the missing reloadUrl
method and that appears to work for refreshing avatar creator. It appears that the rpmFrame.src = ""
in setupRpmFrame
may have been the contributing factor to the iframe not reloading properly when called multiple times, but will need to test more.
Would still be interested in whether or not there is a recommended way of dealing with avatar selection in the web interface, if there is a more efficient method than the above.
-
Are gender and avatar selection after initial creation planned to be available within the creator? As that would be preferable.
-
Is there more information on whether the native creator will be supported in WebGL, or what is currently restricting its availability?
Hello and welcome to the forum!
- Should it be possible to change the gender of an avatar after it has been created through the API or avatar creator?
- Are gender and avatar selection after initial creation planned to be available within the creator? As that would be preferable.
Yes, the team is working on this, and it will be available soon in the creator.
- Should there be a way to see other avatars associated with a user?
You can request user avatars if a user is logged in.
Is there an update to the WebGL template and sample/SDK?
The latest sample available is the one you can download from the Package Manager in Unity under the Samples tab for the Ready Player Me package or if you don’t see the option, then it’s already included in the SDK folder, you can find it under Ready Player Me/Core/Samples/WebGLSample.
- The UrlConfig class has no way to specify the avatar ID to modify.
- Attempting to call the WebFrameHandler.Setup() method more than once causes the WebInterface to be invisible and behave incorrectly after being hidden and attempt to show again.
- reloadUrl does not appear to be present in builds, so we are unsure if that would have helped any.
- What is the correct process to reload the WebInterface more than once with different settings?
I see you already solved this part in the second post, but yes, if you want to refresh the state, then the only way for now is what you did.
- Is there a way to query for all of the avatar IDs associated with a user?
This is currently not available but the team is working on adding it
- Is there a way to query the users associated with our subdomain?
This is currently not possible via public API’s
- Are there any other APIs available that are not currently mentioned in the documentation?
Our docs are the only source
- Is there more information on whether the native creator will be supported in WebGL, or what is currently restricting its availability?
Yes, we do have WebGL support with Unity. You can find more about it on our documentation page here: Avatar Creator (WebGL) - Ready Player Me
1 Like