- Home /
Converting to "Rect Transform" permanently deleted part of my project
I'm making UI for an app and I had this box with text and other stuff on it. The box prefab was a child of a transparent Image and I was using the Image to snap it to the Canvas and such.
I realized when I would edit the Rect Transform of the Image so that everything would stretch with the screen size, it would only apply to the Image and not the box, since it only used a normal Transform.
To fix this, I added the Rect Transform component to my box. This brought me into prefab edit mode, and when I exited that, all of the text and other things attached to my box were gone. I can't use edit>undo to get them back, so I guess all of my work is just gone forever? If that's the case I need to stop using Unity because that is just absurd.
Does anyone know a fix to this?