The pine tree seems to draw from the center in the preview. Other objects seem to match the editor. I have not modified any points, origin is 0,0 and center is auto, auto. Tried deleting and re-adding the tree which did not help. Anybody have any clue what is going on?
It seems like maybe the project got corrupted but I can’t find any obvious issue in the json data when I save the project locally on PC. Does anyone have any ideas on how I can fix or recover the project?
Hi giannpls, interesting problem, I’m looking forward to reading what the solution is. Have you tried other things, like moving the tree to a different position? Or moving the shape painter which I assume is for the pathfinding to a different place, like even out of the display area altogether?
Update, I hadn’t seen the above post when I was typing. Yes indeed definitely something strange going on as mentioned in your other post.
Seems like the center point is not being calculated correctly, when I print the origin and center to a text object they are practically the same
Center is using auto coordinates
Somehow origin and center are practically the same. It seems like center is being calculated as if the width and height are 1px. This may also explain why the object becomes huge if I enable custom size.
EDIT: confirmed and updated screenshots, the width and height of the object is somehow 1x1
I am not sure how I ended up with the project resource link, maybe when I saved the project locally on my PC and then saved it back to the cloud. Deleting the object without deleting the resource and then adding the object again did not fix the issue. Deleting both the object and the resource and then adding the object again from the asset store seems to fix it. I’m still not sure whether there is any difference between the files, they look the same when loaded.