Which platform: PC
Which input: keyboard + mouse
Your Crayta username: Daigoro
Version number: 0.f3.28.120518
Describe the bug:
The userdata reference of npcs is not consistent,
How do you cause this bug?
- List the steps
Attach this script to an npc:
local Test = {}
function Test:Init()
print(self:GetEntity())
print(self:GetEntity())
print(self:GetEntity())
print(self:GetEntity())
end
return Test
console output:
[Server] userdata: 0x7f31b9ac9070
[Server] userdata: 0x7f31b9ac9118
[Server] userdata: 0x7f31b9ac91c0
[Server] userdata: 0x7f31b9ac9268
Screenshots / video of bug:
Describe the bug:
Dead npcs will leave a collision box like they are still alive:
Also killing npcs before joining doesn’t enable the ragdoll:
How do you cause this bug?
Kill an npc.
Describe the bug:
World widgets on script folders that are attached to dead npcs will remain, even after using npc:Destroy(): Crayta 2022-05-12 14-04-20
Scripts that are attached to script folders will also detach from the entity:
Describe the bug:
Changing npc.speedMultiplier or npc.jumpHeightMultuplier after an npc is death, will disable the ragdoll and leave the npc in T-pose: Crayta 2022-05-12 14-19-31
Describe the bug:
Entering or leaving a Trigger with a player will return a different player reference for OnTriggerEnter and OnTriggerExit everytime the player enters/leaves the trigger. Also happens on interaction and on collision (not limited to triggers).
Describe the bug:
Image URLs that worked, stop working after quitting the game and entering it again:
Describe the bug:
The console can not be toggled between advanced and basic by pressing left alt.
It now is in advanced only if the cursor is visible (either by another screen widget or by the quick wheel as example):
Describe the bug:
Duplicating entities that are part of templates does not carry properties properly over:
Describe the bug:
emoteAsset:GetName() returns “Announcement Time!” for several emote assets.
The full list of emote assets that return the wron name:
Congrats
Mercy
Creepy chuckle
Hey hey!
Land Ahoi!
Air jazz
It's over
Tantrum
You can also replicate it with the npc emote demo package:
Describe the bug:
Closing a script before it is fully loaded will lead to the script being uneditable for the rest of the session:
Describe the bug:
changing the scale gradually on client side will not flip the faces on meshes with non-uniform scale (so you can look inside meshes)
Describe the bug:
Sliding npcs stay permanently sliding
Describe the bug:
npc:SetCrouch(boolean) will only toggle once per frame.
function ScriptName:OnTick()
npc:SetCrouch(true)
npc:SetCrouch(false)
print(npc:IsCrouching())
end
console output:
[Server] true
[Server] false
[Server] true
[Server] false
[Server] true
[Server] false
...
will toggle the crouch state each frame instead of locking the player into crouch.
Describe the bug:
When the 1 second Lua timeout happens, dt is capped to .4 seconds, the server time will also just progress by .4 seconds (but UTC will stay correct).
Describe the bug:
Widgets show an error when it has the property tag:
Describe the bug:
The code editor in the widget says that svg and canvas is not officially supported, but i think they are:
Describe the bug:
Text properties in widgets return return the text wrong:
Describe the bug:
entity:PlayTimelinePingPong(…) with no arguments, or an empty table as argument, will crash the server when used on the server or the game when used on clients.
WIP