Help with a character selection

good evening from Argentina would need to make a query, I need to link a GameObject to a table in a database, that is if I select a cube, then the gaming scene appears the cube , if I select a sphere, then appears in the game … as in an MMORPG where you select a character and then you can use this in-game

I hope you understand, my English is very bad and resorted to google translator.

greetings!

Thats a question that can’t be easily answered as it’s specific to your existing implementation.
The way i do it in my game is i only store basic information about the characters in my database like, name, uid, visualid(used in my characterCreator), equipmentIDs(i.e. “12,42,1”), lastMap, inventoryItemIDs(i.e. “102, 500”) and a few others.
and when loading i use the visualID to let a Charactercreator instantiate the specific character object and parse the other information to fill the inventory and equip the character, set it to DontDestroyOnLoad then i load the map stored in lastMap.