Codea (V4) will crash when use mesh.read() to read a built-in asset.
Codea version: 3.8(375)
crash code here:
-- Modern
-- Use this function to perform your initial setup
function setup()
scn = scene()
tree = scn:entity("tree")
tree:add(mesh.read(asset.builtin.CastleKit.bridge_obj))
tree:add(mesh.box(10, 0.1, 10))
tree.position = vec3(10,5.1,10)
end
-- This function gets called once every frame
function draw()
-- This sets a dark background color
background(40, 40, 50)
-- This sets the line thickness
style.strokeWidth(5)
-- Do your drawing here
end