# Verse Issue

**URL:** <https://forums.unrealengine.com/t/verse-issue/1856396>\
**Category:** Verse\
**Tags:** bug, unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [May 14, 2024, 10:59pm UTC](https://forums.unrealengine.com/t/verse-issue/1856396 "2024-05-14T22:59:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deskyze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@deskyze](https://forums.unrealengine.com/u/deskyze)\
**Post date:** [May 14, 2024, 10:59pm UTC](https://forums.unrealengine.com/t/verse-issue/1856396/1 "2024-05-14T22:59:28Z")

</div>

I am experiencing an “unknown identifier” error in-between the asterisks (Bold and italicized). Could somebody please help me fix this bug?

using { /Fortnite.com/Characters }  
using { /Fortnite.com/Devices }  
using { /Fortnite.com/Game }  
using { /Fortnite.com/FortPlayerUtilities }  
using { /Verse.org/Simulation }  
using { /UnrealEngine.com/Temporary/Diagnostics }  
using { /UnrealEngine.com/Temporary/SpatialMath }

# See [Create Your Own Device Using Verse in Unreal Editor for Fortnite | Fortnite Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/uefn/create-your-own-device-in-verse) for how to create a verse device.

# A Verse-authored creative device that can be placed in a level

game\_manager := class(creative\_device):  
@editable PlayerStatsManager : player\_stats\_manager = player\_stats\_manager{}  
@editable RankManager : rank\_manager = rank\_manager{}  
_@editable UIManager : user\_interface\_manager = user\_interface\_manager{}_

```
@editable GuardSpawner : guard_spawner_device = guard_spawner_device{}
@editable PlayerSpawners : []player_spawner_device = array{}

var Players : []player = array{}

# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
    set Players = GetPlayspace().GetPlayers()
    PlayerStatsManager.Init(Players)
    UIManager.Init(Players)
    RankManager.Init(Players)
    for ( PlayerSpawner : PlayerSpawners):
        PlayerSpawner.SpawnedEvent.Subscribe(OnPlayerSpawn)
    spawn{GuardLoop()}
    Update()

# ONLY FOR GUARD TESTING PURPOSES 
GuardLoop()<suspends> : void =
    loop:
        A := GuardSpawner.SpawnedEvent.Await()
        if ( F := A.GetFortCharacter[]):
            spawn{AwaitElimination(F)}

Update()<suspends> : void =
    sync:
        loop:
            Player := GetPlayspace().PlayerAddedEvent().Await()
            if ( not Players.Find[Player]):
                set Players += array{Player}
                PlayerStatsManager.InitializePlayersStats(Player)
                UIManager.InitializePlayerUI(Player)
                RankManager.InitializePlayerRank(Player)
        loop:
            Player := GetPlayspace().PlayerRemovedEvent().Await()
            set Players = for(CurrentPlayer : Players, CurrentPlayer <> Player) { CurrentPlayer }

OnPlayerSpawn(Agent : agent) : void =
    if ( FortCharacter := Agent.GetFortCharacter[]):
        spawn{AwaitElimination(FortCharacter)}

AwaitElimination(FortCharacter : fort_character)<suspends> : void =
    Result := FortCharacter.EliminatedEvent().Await()
    RankManager.HandleElimination(Result)

```

---

<div class="post-metadata">

**Author:** ![ok\_studios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ok\_studios](https://forums.unrealengine.com/u/ok_studios)\
**Post date:** [May 15, 2024, 12:11am UTC](https://forums.unrealengine.com/t/verse-issue/1856396/2 "2024-05-15T00:11:43Z")

</div>

Hi.  
It is hard to tell what’s going on with this. But the unknown identifier simply means that the program can’t find or see what it is looking for. What is UIManager.Init()? If that’s a method or function within a class, then the main program is saying it can’t find or see it. Where exactly is Init? Is it a class? If so, it needs to be a part of this file or there needs to be a reference to that class somewhere. It is hard to tell from what’s here.

Hope that helps a little.

---

<div class="post-metadata">

**Author:** ![t.tutiya](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/t.tutiya/32/924637_2.png) [@t.tutiya](https://forums.unrealengine.com/u/t.tutiya)\
**Post date:** [May 15, 2024, 2:44am UTC](https://forums.unrealengine.com/t/verse-issue/1856396/3 "2024-05-15T02:44:11Z")

</div>

You need to define `user_interface_manager` class.  
Please use quotes when pasting code.  
You should also append a compile error message.

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [May 15, 2024, 6:33am UTC](https://forums.unrealengine.com/t/verse-issue/1856396/4 "2024-05-15T06:33:02Z")

</div>

hi @deskyze  
Looks like you need to add

```auto
using { /UnrealEngine.com/Temporary/UI }
using { /Fortnite.com/UI }

```

the text for formatting is ``and`` and ` so you have three reverse apostrophe together at  
the beginning of of the block of text you want to format and at the end

the documentation is at  
[User Interface Settings | Fortnite Creative Documentation](https://dev.epicgames.com/documentation/en-us/fortnite-creative/user-interface-settings-in-fortnite-creative)
