Set a username / displayname in fusion

The whole answer can be found below.

Please note: The Photon forum is closed permanently. After many dedicated years of service we have made the decision to retire our forum and switch to read-only: we've saved the best to last! And we offer you support through these channels:

Try Our
Documentation

Please check if you can find an answer in our extensive documentation on Fusion.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Read More on
Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

Set a username / displayname in fusion

Riwakle
2022-06-07 15:37:32

I am trying to build my own code off of the fusion 10X tutorials and I've been looking at the Fusion API and I have so far been unable to find any instruction on how to set a username / displayname for a host or client.

I could set some networked string inside of the player class, but older versions of photon had various ways to display human-readable identifiers like Nickname.

Is there a built-in way with Fusion to set a player nickname?

Comments

Isaac_Augusto
2022-06-17 18:59:26

Hi, sorry for the late response.

Fusion doesn't have something like that, you need to handle the nickname logic.


Isaac Augusto

Photon Fusion Team

Back to top