Fill with baseDir = system.DocumentsDirectory not working

I’m having trouble with image fill from documents directory. This small example does not work:

[lua]

local o = display.newRect(100,100,200,200)

o.fill = { type=“image”, filename=“test.png”, baseDir = system.DocumentsDirectory }

[/lua]

However if I move the test.png to Resource Directory it works. Even with baseDir set to Documents Directory. I’m doing something wrong here?

Docs here

I reported it: (Case 28213)

We verified the issue and looking into a fix. Thanks for the bug report.

Great, thank you for the response.

I reported it: (Case 28213)

We verified the issue and looking into a fix. Thanks for the bug report.

Great, thank you for the response.