Hello,
I wanted to try out the editable mesh feature but for some reason I can’t create one because of some permission error. The thing is the asset is owned by me but it’s telling me my game and mesh are owned by different users, how does that work?
Script:
local assetService = game:GetService("AssetService")
local runService = game:GetService("RunService")
local parent = script.Parent
local size = parent.Size
local mesh = assetService:CreateEditableMeshFromPartAsync(parent)
local vertices = mesh:GetVertices()
local offset = 0
runService.Heartbeat:Connect(function()
offset += 1
for _, id in pairs(vertices) do
local position = mesh:GetPosition(id)
mesh:SetPosition(id, Vector3.new(position.X, math.noise((position.X + offset) / size.X, (position.Z + offset) / size.Z, 0)))
end
end)
Errors:
Universe and asset 134271502795074 owned by different User - Studio
AssetService::CreateEditableMeshAsync failed because no permission to load asset - Server - Simulation:5