Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Assets
Summary
When I remove a specific console writeline it breaks my map. At the team selector when this getteam is being called it freezes and kicks you out
Steps to Reproduce
No clue it is specific to my maps
Expected Result
No crash
Observed Result
Video https://youtu.be/hAR10J63HO4
Platform(s)
OC
Island Code
6570-5231-1418
Additional Notes
This bug applies to 5 maps of mine
Got repro steps, this will crash any map instantly using only 33 lines of verse, very critical:
- Create a blank map
- Create a verse file with this code below
- Place the device in the map and a button device and connect it
- start the game and press the button to crash the map
- You will stand still for 40s and then get kicked
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
a_device := class(creative_device):
@editable Button:button_device = button_device{}
OnBegin<override>()<suspends>:void={
Button.InteractedWithEvent.Subscribe(ButtonPressed)
}
ButtonPressed(Agent:agent):void={
GetAgentsInTeam(2).Length
}
GetAgentsInTeam(Team:int)<transacts>:[]agent={
Agents := for:
Agent:GetAllAgents()
GetTeam(Agent) = Team
do:
Agent
return Agents
}
GetAllAgents()<transacts>:[]agent={
var Agents:[]agent = array{}
for(Agent:Self.GetPlayspace().GetPlayers()):
set Agents += array{Agent}
return Agents
}
GetTeam(Agent:agent)<transacts>:int={
return 1
}
1 Like
FORT-788841 incident has been created. Status is ‘Unconfirmed’.
This has been fixed a few months ago now