Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Luau LSP does not process $/plugin/full requests with large payloads. #886

Open
ActualMasterOogway opened this issue Dec 30, 2024 · 5 comments

Comments

@ActualMasterOogway
Copy link

I noticed that when I used the Roblox Studio Companion Plugin the data which gets sent to the Luau LSP Extension wont do anything at all.
I wrote a script to reproduce this bug using Lune

local Port = 3667

local Network = require("@lune/net")

-- Big Body Data (Not working)
local Body = '{"tree":{"Children":{"3":{"Children":{"2":{"Children":[null,{"Children":[null,{"Children":[],"Name":"PlayerScriptsLoader","ClassName":"LocalScript"},{"Children":[null,{"Children":[null,{"Children":[],"Name":"DynamicThumbstick","ClassName":"ModuleScript"},{"Children":[],"Name":"VehicleController","ClassName":"ModuleScript"},{"Children":[],"Name":"ClickToMoveController","ClassName":"ModuleScript"},{"Children":[],"Name":"PathDisplay","ClassName":"ModuleScript"},{"Children":[],"Name":"VRNavigation","ClassName":"ModuleScript"},{"Children":[],"Name":"BaseCharacterController","ClassName":"ModuleScript"},{"Children":[],"Name":"Keyboard","ClassName":"ModuleScript"},{"Children":[],"Name":"Gamepad","ClassName":"ModuleScript"},{"Children":[],"Name":"TouchJump","ClassName":"ModuleScript"},{"Children":[],"Name":"ClickToMoveDisplay","ClassName":"ModuleScript"},{"Children":[],"Name":"TouchThumbstick","ClassName":"ModuleScript"}],"Name":"ControlModule","ClassName":"ModuleScript"},{"Children":[null,{"Children":[],"Name":"VRBaseCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"CameraUI","ClassName":"ModuleScript"},{"Children":[],"Name":"CameraInput","ClassName":"ModuleScript"},{"Children":[],"Name":"VRCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"Invisicam","ClassName":"ModuleScript"},{"Children":[],"Name":"BaseOcclusion","ClassName":"ModuleScript"},{"Children":[],"Name":"BaseCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"LegacyCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"OrbitalCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"ClassicCamera","ClassName":"ModuleScript"},{"Children":{"3":{"Children":[],"Name":"VehicleCameraCore","ClassName":"ModuleScript"},"2":{"Children":[],"Name":"VehicleCameraConfig","ClassName":"ModuleScript"}},"Name":"VehicleCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"CameraToggleStateController","ClassName":"ModuleScript"},{"Children":[],"Name":"CameraUtils","ClassName":"ModuleScript"},{"Children":{"2":{"Children":[],"Name":"Popper","ClassName":"ModuleScript"}},"Name":"ZoomController","ClassName":"ModuleScript"},{"Children":[],"Name":"VRVehicleCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"TransparencyController","ClassName":"ModuleScript"},{"Children":{"2":{"Children":[],"Name":"BoundKeys","ClassName":"StringValue"}},"Name":"MouseLockController","ClassName":"ModuleScript"},{"Children":[],"Name":"Poppercam","ClassName":"ModuleScript"}],"Name":"CameraModule","ClassName":"ModuleScript"},{"Children":[null,{"Children":[],"Name":"CharacterUtil","ClassName":"ModuleScript"},{"Children":[],"Name":"ConnectionUtil.spec","ClassName":"ModuleScript"},{"Children":[],"Name":"ConnectionUtil","ClassName":"ModuleScript"},{"Children":[],"Name":"FlagUtil","ClassName":"ModuleScript"}],"Name":"CommonUtils","ClassName":"Folder"}],"Name":"PlayerModule","ClassName":"ModuleScript"},{"Children":{"2":{"Children":[],"Name":"AtomicBinding","ClassName":"ModuleScript"}},"Name":"RbxCharacterSounds","ClassName":"LocalScript"}],"Name":"PlayerScripts","ClassName":"PlayerScripts"},{"Children":[],"Name":"PlayerGui","ClassName":"PlayerGui"},{"Children":[],"Name":"StarterGear","ClassName":"StarterGear"},{"Children":[],"Name":"Backpack","ClassName":"Backpack"}],"Name":"ImRealDani26","ClassName":"Player"}},"Name":"Players","ClassName":"Players"},"2":{"Children":[null,{"Children":[],"Name":"Camera","ClassName":"Camera"},{"Children":[],"Name":"Terrain","ClassName":"Terrain"},{"Children":[null,{"Children":[],"Name":"Shirt","ClassName":"Shirt"},{"Children":[null,{"Children":[],"Name":"Animator","ClassName":"Animator"},{"Children":[],"Name":"BodyTypeScale","ClassName":"NumberValue"},{"Children":[],"Name":"BodyProportionScale","ClassName":"NumberValue"},{"Children":[],"Name":"BodyWidthScale","ClassName":"NumberValue"},{"Children":[],"Name":"BodyHeightScale","ClassName":"NumberValue"},{"Children":[],"Name":"BodyDepthScale","ClassName":"NumberValue"},{"Children":[],"Name":"HeadScale","ClassName":"NumberValue"},{"Children":[null,{"Children":[],"Name":"BodyPartDescription","ClassName":"BodyPartDescription"},{"Children":[],"Name":"BodyPartDescription","ClassName":"BodyPartDescription"},{"Children":[],"Name":"BodyPartDescription","ClassName":"BodyPartDescription"},{"Children":[],"Name":"BodyPartDescription","ClassName":"BodyPartDescription"},{"Children":[],"Name":"BodyPartDescription","ClassName":"BodyPartDescription"},{"Children":[],"Name":"BodyPartDescription","ClassName":"BodyPartDescription"},{"Children":[],"Name":"AccessoryDescription","ClassName":"AccessoryDescription"}],"Name":"HumanoidDescription","ClassName":"HumanoidDescription"},{"Children":[],"Name":"Status","ClassName":"Status"}],"Name":"Humanoid","ClassName":"Humanoid"},{"Children":[],"Name":"Health","ClassName":"Script"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"CheerAnim","ClassName":"Animation"}},"Name":"cheer","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"ClimbAnim","ClassName":"Animation"}},"Name":"climb","ClassName":"StringValue"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation1","ClassName":"Animation"},{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation2","ClassName":"Animation"},{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation3","ClassName":"Animation"}],"Name":"dance","ClassName":"StringValue"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation1","ClassName":"Animation"},{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation2","ClassName":"Animation"},{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation3","ClassName":"Animation"}],"Name":"dance2","ClassName":"StringValue"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation1","ClassName":"Animation"},{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation2","ClassName":"Animation"},{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation3","ClassName":"Animation"}],"Name":"dance3","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"FallAnim","ClassName":"Animation"}},"Name":"fall","ClassName":"StringValue"},{"Children":{"3":{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation2","ClassName":"Animation"},"2":{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation1","ClassName":"Animation"}},"Name":"idle","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"JumpAnim","ClassName":"Animation"}},"Name":"jump","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"LaughAnim","ClassName":"Animation"}},"Name":"laugh","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"PointAnim","ClassName":"Animation"}},"Name":"point","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"SitAnim","ClassName":"Animation"}},"Name":"sit","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"ToolLungeAnim","ClassName":"Animation"}},"Name":"toollunge","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"ToolNoneAnim","ClassName":"Animation"}},"Name":"toolnone","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"ToolSlashAnim","ClassName":"Animation"}},"Name":"toolslash","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"WaveAnim","ClassName":"Animation"}},"Name":"wave","ClassName":"StringValue"},{"Children":[],"Name":"ScaleDampeningPercent","ClassName":"NumberValue"},{"Children":{"2":{"Children":[],"Name":"RunAnim","ClassName":"Animation"}},"Name":"run","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"Swim","ClassName":"Animation"}},"Name":"swim","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"SwimIdle","ClassName":"Animation"}},"Name":"swimidle","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"WalkAnim","ClassName":"Animation"}},"Name":"walk","ClassName":"StringValue"},{"Children":[],"Name":"PlayEmote","ClassName":"BindableFunction"},{"Children":{"2":{"Children":[],"Name":"Animation1","ClassName":"Animation"}},"Name":"mood","ClassName":"StringValue"}],"Name":"Animate","ClassName":"LocalScript"},{"Children":[],"Name":"Body Colors","ClassName":"BodyColors"},{"Children":[],"Name":"Pants","ClassName":"Pants"},{"Children":{"2":{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"HatAttachment","ClassName":"Attachment"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"AccessoryWeld","ClassName":"Weld"}],"Name":"Handle","ClassName":"MeshPart"}},"Name":"BoySpaceHair","ClassName":"Accessory"},{"Children":[null,{"Children":[],"Name":"Head","ClassName":"WrapTarget"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"NeckRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"FaceFrontAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"HatAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"HairAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"FaceCenterAttachment","ClassName":"Attachment"},{"Children":[],"Name":"Neck","ClassName":"Motor6D"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"face","ClassName":"Decal"}],"Name":"Head","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RootRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"WaistRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftHipRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightHipRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"WaistBackAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"WaistCenterAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"WaistFrontAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LowerTorso","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"Root","ClassName":"Motor6D"}],"Name":"LowerTorso","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"WaistRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"NeckRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftShoulderRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightShoulderRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"BodyFrontAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"BodyBackAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftCollarAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"NeckAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightCollarAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"UpperTorso","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"Waist","ClassName":"Motor6D"}],"Name":"UpperTorso","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftElbowRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftWristRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LeftLowerArm","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"LeftElbow","ClassName":"Motor6D"}],"Name":"LeftLowerArm","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftWristRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftGripAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LeftHand","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"LeftWrist","ClassName":"Motor6D"}],"Name":"LeftHand","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftShoulderRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftElbowRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftShoulderAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LeftUpperArm","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"LeftShoulder","ClassName":"Motor6D"}],"Name":"LeftUpperArm","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightShoulderRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightElbowRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightShoulderAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"RightUpperArm","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"RightShoulder","ClassName":"Motor6D"}],"Name":"RightUpperArm","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RootRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RootAttachment","ClassName":"Attachment"},{"Children":[],"Name":"Climbing","ClassName":"Sound"},{"Children":[],"Name":"Died","ClassName":"Sound"},{"Children":[],"Name":"GettingUp","ClassName":"Sound"},{"Children":[],"Name":"Swimming","ClassName":"Sound"},{"Children":[],"Name":"Jumping","ClassName":"Sound"},{"Children":[],"Name":"Landing","ClassName":"Sound"},{"Children":[],"Name":"Splash","ClassName":"Sound"},{"Children":[],"Name":"FreeFalling","ClassName":"Sound"},{"Children":[],"Name":"Running","ClassName":"Sound"}],"Name":"HumanoidRootPart","ClassName":"Part"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightAnkleRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightFootAttachment","ClassName":"Attachment"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"RightFoot","ClassName":"WrapTarget"},{"Children":[],"Name":"RightAnkle","ClassName":"Motor6D"}],"Name":"RightFoot","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightKneeRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightAnkleRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"RightLowerLeg","ClassName":"WrapTarget"},{"Children":[],"Name":"RightKnee","ClassName":"Motor6D"}],"Name":"RightLowerLeg","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightHipRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightKneeRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"RightUpperLeg","ClassName":"WrapTarget"},{"Children":[],"Name":"RightHip","ClassName":"Motor6D"}],"Name":"RightUpperLeg","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftAnkleRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftFootAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LeftFoot","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"LeftAnkle","ClassName":"Motor6D"}],"Name":"LeftFoot","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftKneeRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftAnkleRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LeftLowerLeg","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"LeftKnee","ClassName":"Motor6D"}],"Name":"LeftLowerLeg","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftHipRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftKneeRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LeftUpperLeg","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"LeftHip","ClassName":"Motor6D"}],"Name":"LeftUpperLeg","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightWristRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightGripAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"RightHand","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"RightWrist","ClassName":"Motor6D"}],"Name":"RightHand","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightElbowRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightWristRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"RightLowerArm","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"RightElbow","ClassName":"Motor6D"}],"Name":"RightLowerArm","ClassName":"MeshPart"}],"Name":"ImRealDani26","ClassName":"Model"},{"Children":{"2":{"Children":[],"Name":"Texture","ClassName":"Texture"}},"Name":"Baseplate","ClassName":"Part"},{"Children":{"2":{"Children":[],"Name":"Decal","ClassName":"Decal"}},"Name":"SpawnLocation","ClassName":"SpawnLocation"}],"Name":"Workspace","ClassName":"Workspace"}},"Name":"Luau LSP","ClassName":"DataModel"}}'

-- Small Body Data (Working)
--local Body = '{"tree":{"Children":{"2":{"Children":{"2":{"Children":[],"Name":"ClientReplicator","ClassName":"ClientReplicator"}},"Name":"NetworkClient","ClassName":"NetworkClient"}},"Name":"Luau LSP","ClassName":"DataModel"}}'

print(Network.request{
    url = `http://localhost:{Port}/clear`,
    method = "POST",
    headers = {
        ["Content-Type"] = "application/json",
    }
}.body)

print(Network.request{
    url = `http://localhost:{Port}/full`,
    method = "POST",
    headers = {
        ["Content-Type"] = "application/json",
    },
    body = Body,
}.body)

I looked in the output console and it only recieved the $/plugin/clear method when working with a big data tree
image

@JohnnyMorganz
Copy link
Owner

Have you increased the luau-lsp.plugin.maximumRequestBodySize in VSCode?

@ActualMasterOogway
Copy link
Author

Have you increased the luau-lsp.plugin.maximumRequestBodySize in VSCode?

Yes I set it to 2gb

@ActualMasterOogway
Copy link
Author

I noticed that when I used the Roblox Studio Companion Plugin the data which gets sent to the Luau LSP Extension wont do anything at all. I wrote a script to reproduce this bug using Lune

local Port = 3667

local Network = require("@lune/net")

-- Big Body Data (Not working)
local Body = '{"tree":{"Children":{"3":{"Children":{"2":{"Children":[null,{"Children":[null,{"Children":[],"Name":"PlayerScriptsLoader","ClassName":"LocalScript"},{"Children":[null,{"Children":[null,{"Children":[],"Name":"DynamicThumbstick","ClassName":"ModuleScript"},{"Children":[],"Name":"VehicleController","ClassName":"ModuleScript"},{"Children":[],"Name":"ClickToMoveController","ClassName":"ModuleScript"},{"Children":[],"Name":"PathDisplay","ClassName":"ModuleScript"},{"Children":[],"Name":"VRNavigation","ClassName":"ModuleScript"},{"Children":[],"Name":"BaseCharacterController","ClassName":"ModuleScript"},{"Children":[],"Name":"Keyboard","ClassName":"ModuleScript"},{"Children":[],"Name":"Gamepad","ClassName":"ModuleScript"},{"Children":[],"Name":"TouchJump","ClassName":"ModuleScript"},{"Children":[],"Name":"ClickToMoveDisplay","ClassName":"ModuleScript"},{"Children":[],"Name":"TouchThumbstick","ClassName":"ModuleScript"}],"Name":"ControlModule","ClassName":"ModuleScript"},{"Children":[null,{"Children":[],"Name":"VRBaseCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"CameraUI","ClassName":"ModuleScript"},{"Children":[],"Name":"CameraInput","ClassName":"ModuleScript"},{"Children":[],"Name":"VRCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"Invisicam","ClassName":"ModuleScript"},{"Children":[],"Name":"BaseOcclusion","ClassName":"ModuleScript"},{"Children":[],"Name":"BaseCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"LegacyCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"OrbitalCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"ClassicCamera","ClassName":"ModuleScript"},{"Children":{"3":{"Children":[],"Name":"VehicleCameraCore","ClassName":"ModuleScript"},"2":{"Children":[],"Name":"VehicleCameraConfig","ClassName":"ModuleScript"}},"Name":"VehicleCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"CameraToggleStateController","ClassName":"ModuleScript"},{"Children":[],"Name":"CameraUtils","ClassName":"ModuleScript"},{"Children":{"2":{"Children":[],"Name":"Popper","ClassName":"ModuleScript"}},"Name":"ZoomController","ClassName":"ModuleScript"},{"Children":[],"Name":"VRVehicleCamera","ClassName":"ModuleScript"},{"Children":[],"Name":"TransparencyController","ClassName":"ModuleScript"},{"Children":{"2":{"Children":[],"Name":"BoundKeys","ClassName":"StringValue"}},"Name":"MouseLockController","ClassName":"ModuleScript"},{"Children":[],"Name":"Poppercam","ClassName":"ModuleScript"}],"Name":"CameraModule","ClassName":"ModuleScript"},{"Children":[null,{"Children":[],"Name":"CharacterUtil","ClassName":"ModuleScript"},{"Children":[],"Name":"ConnectionUtil.spec","ClassName":"ModuleScript"},{"Children":[],"Name":"ConnectionUtil","ClassName":"ModuleScript"},{"Children":[],"Name":"FlagUtil","ClassName":"ModuleScript"}],"Name":"CommonUtils","ClassName":"Folder"}],"Name":"PlayerModule","ClassName":"ModuleScript"},{"Children":{"2":{"Children":[],"Name":"AtomicBinding","ClassName":"ModuleScript"}},"Name":"RbxCharacterSounds","ClassName":"LocalScript"}],"Name":"PlayerScripts","ClassName":"PlayerScripts"},{"Children":[],"Name":"PlayerGui","ClassName":"PlayerGui"},{"Children":[],"Name":"StarterGear","ClassName":"StarterGear"},{"Children":[],"Name":"Backpack","ClassName":"Backpack"}],"Name":"ImRealDani26","ClassName":"Player"}},"Name":"Players","ClassName":"Players"},"2":{"Children":[null,{"Children":[],"Name":"Camera","ClassName":"Camera"},{"Children":[],"Name":"Terrain","ClassName":"Terrain"},{"Children":[null,{"Children":[],"Name":"Shirt","ClassName":"Shirt"},{"Children":[null,{"Children":[],"Name":"Animator","ClassName":"Animator"},{"Children":[],"Name":"BodyTypeScale","ClassName":"NumberValue"},{"Children":[],"Name":"BodyProportionScale","ClassName":"NumberValue"},{"Children":[],"Name":"BodyWidthScale","ClassName":"NumberValue"},{"Children":[],"Name":"BodyHeightScale","ClassName":"NumberValue"},{"Children":[],"Name":"BodyDepthScale","ClassName":"NumberValue"},{"Children":[],"Name":"HeadScale","ClassName":"NumberValue"},{"Children":[null,{"Children":[],"Name":"BodyPartDescription","ClassName":"BodyPartDescription"},{"Children":[],"Name":"BodyPartDescription","ClassName":"BodyPartDescription"},{"Children":[],"Name":"BodyPartDescription","ClassName":"BodyPartDescription"},{"Children":[],"Name":"BodyPartDescription","ClassName":"BodyPartDescription"},{"Children":[],"Name":"BodyPartDescription","ClassName":"BodyPartDescription"},{"Children":[],"Name":"BodyPartDescription","ClassName":"BodyPartDescription"},{"Children":[],"Name":"AccessoryDescription","ClassName":"AccessoryDescription"}],"Name":"HumanoidDescription","ClassName":"HumanoidDescription"},{"Children":[],"Name":"Status","ClassName":"Status"}],"Name":"Humanoid","ClassName":"Humanoid"},{"Children":[],"Name":"Health","ClassName":"Script"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"CheerAnim","ClassName":"Animation"}},"Name":"cheer","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"ClimbAnim","ClassName":"Animation"}},"Name":"climb","ClassName":"StringValue"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation1","ClassName":"Animation"},{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation2","ClassName":"Animation"},{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation3","ClassName":"Animation"}],"Name":"dance","ClassName":"StringValue"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation1","ClassName":"Animation"},{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation2","ClassName":"Animation"},{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation3","ClassName":"Animation"}],"Name":"dance2","ClassName":"StringValue"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation1","ClassName":"Animation"},{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation2","ClassName":"Animation"},{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation3","ClassName":"Animation"}],"Name":"dance3","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"FallAnim","ClassName":"Animation"}},"Name":"fall","ClassName":"StringValue"},{"Children":{"3":{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation2","ClassName":"Animation"},"2":{"Children":{"2":{"Children":[],"Name":"Weight","ClassName":"NumberValue"}},"Name":"Animation1","ClassName":"Animation"}},"Name":"idle","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"JumpAnim","ClassName":"Animation"}},"Name":"jump","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"LaughAnim","ClassName":"Animation"}},"Name":"laugh","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"PointAnim","ClassName":"Animation"}},"Name":"point","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"SitAnim","ClassName":"Animation"}},"Name":"sit","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"ToolLungeAnim","ClassName":"Animation"}},"Name":"toollunge","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"ToolNoneAnim","ClassName":"Animation"}},"Name":"toolnone","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"ToolSlashAnim","ClassName":"Animation"}},"Name":"toolslash","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"WaveAnim","ClassName":"Animation"}},"Name":"wave","ClassName":"StringValue"},{"Children":[],"Name":"ScaleDampeningPercent","ClassName":"NumberValue"},{"Children":{"2":{"Children":[],"Name":"RunAnim","ClassName":"Animation"}},"Name":"run","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"Swim","ClassName":"Animation"}},"Name":"swim","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"SwimIdle","ClassName":"Animation"}},"Name":"swimidle","ClassName":"StringValue"},{"Children":{"2":{"Children":[],"Name":"WalkAnim","ClassName":"Animation"}},"Name":"walk","ClassName":"StringValue"},{"Children":[],"Name":"PlayEmote","ClassName":"BindableFunction"},{"Children":{"2":{"Children":[],"Name":"Animation1","ClassName":"Animation"}},"Name":"mood","ClassName":"StringValue"}],"Name":"Animate","ClassName":"LocalScript"},{"Children":[],"Name":"Body Colors","ClassName":"BodyColors"},{"Children":[],"Name":"Pants","ClassName":"Pants"},{"Children":{"2":{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"HatAttachment","ClassName":"Attachment"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"AccessoryWeld","ClassName":"Weld"}],"Name":"Handle","ClassName":"MeshPart"}},"Name":"BoySpaceHair","ClassName":"Accessory"},{"Children":[null,{"Children":[],"Name":"Head","ClassName":"WrapTarget"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"NeckRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"FaceFrontAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"HatAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"HairAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"FaceCenterAttachment","ClassName":"Attachment"},{"Children":[],"Name":"Neck","ClassName":"Motor6D"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"face","ClassName":"Decal"}],"Name":"Head","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RootRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"WaistRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftHipRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightHipRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"WaistBackAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"WaistCenterAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"WaistFrontAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LowerTorso","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"Root","ClassName":"Motor6D"}],"Name":"LowerTorso","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"WaistRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"NeckRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftShoulderRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightShoulderRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"BodyFrontAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"BodyBackAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftCollarAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"NeckAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightCollarAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"UpperTorso","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"Waist","ClassName":"Motor6D"}],"Name":"UpperTorso","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftElbowRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftWristRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LeftLowerArm","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"LeftElbow","ClassName":"Motor6D"}],"Name":"LeftLowerArm","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftWristRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftGripAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LeftHand","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"LeftWrist","ClassName":"Motor6D"}],"Name":"LeftHand","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftShoulderRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftElbowRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftShoulderAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LeftUpperArm","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"LeftShoulder","ClassName":"Motor6D"}],"Name":"LeftUpperArm","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightShoulderRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightElbowRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightShoulderAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"RightUpperArm","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"RightShoulder","ClassName":"Motor6D"}],"Name":"RightUpperArm","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RootRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RootAttachment","ClassName":"Attachment"},{"Children":[],"Name":"Climbing","ClassName":"Sound"},{"Children":[],"Name":"Died","ClassName":"Sound"},{"Children":[],"Name":"GettingUp","ClassName":"Sound"},{"Children":[],"Name":"Swimming","ClassName":"Sound"},{"Children":[],"Name":"Jumping","ClassName":"Sound"},{"Children":[],"Name":"Landing","ClassName":"Sound"},{"Children":[],"Name":"Splash","ClassName":"Sound"},{"Children":[],"Name":"FreeFalling","ClassName":"Sound"},{"Children":[],"Name":"Running","ClassName":"Sound"}],"Name":"HumanoidRootPart","ClassName":"Part"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightAnkleRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightFootAttachment","ClassName":"Attachment"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"RightFoot","ClassName":"WrapTarget"},{"Children":[],"Name":"RightAnkle","ClassName":"Motor6D"}],"Name":"RightFoot","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightKneeRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightAnkleRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"RightLowerLeg","ClassName":"WrapTarget"},{"Children":[],"Name":"RightKnee","ClassName":"Motor6D"}],"Name":"RightLowerLeg","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightHipRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightKneeRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"RightUpperLeg","ClassName":"WrapTarget"},{"Children":[],"Name":"RightHip","ClassName":"Motor6D"}],"Name":"RightUpperLeg","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftAnkleRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftFootAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LeftFoot","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"LeftAnkle","ClassName":"Motor6D"}],"Name":"LeftFoot","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftKneeRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftAnkleRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LeftLowerLeg","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"LeftKnee","ClassName":"Motor6D"}],"Name":"LeftLowerLeg","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftHipRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"LeftKneeRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"LeftUpperLeg","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"LeftHip","ClassName":"Motor6D"}],"Name":"LeftUpperLeg","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightWristRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightGripAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"RightHand","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"RightWrist","ClassName":"Motor6D"}],"Name":"RightHand","ClassName":"MeshPart"},{"Children":[null,{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightElbowRigAttachment","ClassName":"Attachment"},{"Children":{"2":{"Children":[],"Name":"OriginalPosition","ClassName":"Vector3Value"}},"Name":"RightWristRigAttachment","ClassName":"Attachment"},{"Children":[],"Name":"AvatarPartScaleType","ClassName":"StringValue"},{"Children":[],"Name":"RightLowerArm","ClassName":"WrapTarget"},{"Children":[],"Name":"OriginalSize","ClassName":"Vector3Value"},{"Children":[],"Name":"RightElbow","ClassName":"Motor6D"}],"Name":"RightLowerArm","ClassName":"MeshPart"}],"Name":"ImRealDani26","ClassName":"Model"},{"Children":{"2":{"Children":[],"Name":"Texture","ClassName":"Texture"}},"Name":"Baseplate","ClassName":"Part"},{"Children":{"2":{"Children":[],"Name":"Decal","ClassName":"Decal"}},"Name":"SpawnLocation","ClassName":"SpawnLocation"}],"Name":"Workspace","ClassName":"Workspace"}},"Name":"Luau LSP","ClassName":"DataModel"}}'

-- Small Body Data (Working)
--local Body = '{"tree":{"Children":{"2":{"Children":{"2":{"Children":[],"Name":"ClientReplicator","ClassName":"ClientReplicator"}},"Name":"NetworkClient","ClassName":"NetworkClient"}},"Name":"Luau LSP","ClassName":"DataModel"}}'

print(Network.request{
    url = `http://localhost:{Port}/clear`,
    method = "POST",
    headers = {
        ["Content-Type"] = "application/json",
    }
}.body)

print(Network.request{
    url = `http://localhost:{Port}/full`,
    method = "POST",
    headers = {
        ["Content-Type"] = "application/json",
    },
    body = Body,
}.body)

I looked in the output console and it only recieved the $/plugin/clear method when working with a big data tree image

I forgot to mention that both of these requests return OK

@notpoiu
Copy link

notpoiu commented Jan 7, 2025

Same here, the code from OP is basically identical to my code & its not working for me either

@notpoiu
Copy link

notpoiu commented Jan 7, 2025

Are there any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants