{"action":"created","issue":{"url":"https://api.github.com/repos/Facepunch/rust-community/issues/3","labels_url":"https://api.github.com/repos/Facepunch/rust-community/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Facepunch/rust-community/issues/3/comments","events_url":"https://api.github.com/repos/Facepunch/rust-community/issues/3/events","html_url":"https://github.com/Facepunch/rust-community/issues/3","id":88021928,"number":3,"title":"Unknown parent","user":{"login":"Bombardir","id":10889246,"avatar_url":"https://avatars.githubusercontent.com/u/10889246?v=3","gravatar_id":"","url":"https://api.github.com/users/Bombardir","html_url":"https://github.com/Bombardir","followers_url":"https://api.github.com/users/Bombardir/followers","following_url":"https://api.github.com/users/Bombardir/following{/other_user}","gists_url":"https://api.github.com/users/Bombardir/gists{/gist_id}","starred_url":"https://api.github.com/users/Bombardir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bombardir/subscriptions","organizations_url":"https://api.github.com/users/Bombardir/orgs","repos_url":"https://api.github.com/users/Bombardir/repos","events_url":"https://api.github.com/users/Bombardir/events{/privacy}","received_events_url":"https://api.github.com/users/Bombardir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-13T15:36:12Z","updated_at":"2015-06-14T21:54:56Z","closed_at":null,"body":"Latest updates broke my UI.. I have problems with error 'Unknown parent'. My json:\r\n[\r\n    {\r\n        \"name\": \"MainPanel\",\r\n        \"components\": [\r\n            {\r\n                \"type\": \"UnityEngine.UI.Image\"\r\n            },\r\n            {\r\n                \"type\": \"RectTransform\",\r\n                \"anchormin\": \"0.2 0.2\",\r\n                \"anchormax\": \"0.8 0.8\"\r\n            }\r\n        ]\r\n    },\r\n    {\r\n        \"name\": \"ActivePanel\",\r\n        \"parent\": \"MainPanel\",\r\n        \"components\": [\r\n            {\r\n                \"type\": \"UnityEngine.UI.Button\",\r\n                \"command\": \".....\"\r\n            },\r\n            {\r\n                \"type\": \"RectTransform\",\r\n                \"anchormin\": \"0.2 0.2\",\r\n                \"anchormax\": \"0.8 0.8\"\r\n            }\r\n        ]\r\n    },\r\n    {\r\n        \"name\": \"TitlePanel\",\r\n        \"parent\": \"ActivePanel\",\r\n        \"components\": [\r\n            {\r\n                \"type\": \"UnityEngine.UI.Text\",\r\n                \"text\": \".....\",\r\n                \"align\": \"MiddleCenter\",\r\n                \"fontSize\": 32\r\n            }\r\n        ]\r\n    }\r\n]\r\nError: 'AddUI: Unknown parent: ActivePanel'\r\nP.S. It's not real json (real is too big), but an example.\r\n\r\nPreviously all was okay, but with new updates it's not working."},"comment":{"url":"https://api.github.com/repos/Facepunch/rust-community/issues/comments/111878666","html_url":"https://github.com/Facepunch/rust-community/issues/3#issuecomment-111878666","issue_url":"https://api.github.com/repos/Facepunch/rust-community/issues/3","id":111878666,"user":{"login":"iZuen","id":2949628,"avatar_url":"https://avatars.githubusercontent.com/u/2949628?v=3","gravatar_id":"","url":"https://api.github.com/users/iZuen","html_url":"https://github.com/iZuen","followers_url":"https://api.github.com/users/iZuen/followers","following_url":"https://api.github.com/users/iZuen/following{/other_user}","gists_url":"https://api.github.com/users/iZuen/gists{/gist_id}","starred_url":"https://api.github.com/users/iZuen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iZuen/subscriptions","organizations_url":"https://api.github.com/users/iZuen/orgs","repos_url":"https://api.github.com/users/iZuen/repos","events_url":"https://api.github.com/users/iZuen/events{/privacy}","received_events_url":"https://api.github.com/users/iZuen/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T21:54:56Z","updated_at":"2015-06-14T21:54:56Z","body":"Further investigation shows that the UI is not properly being destroyed at all. I did some testing on the naming of each component and it seems that if you generate a random name every time the server sends the UI it will 100% always show up. \r\n\r\nSo instead calling it something static such as \"TestPanel7766\" you should make it unique every time it gets called like \"TestPanel7766\" | \"TestPanel7767\" | \"TestPanel7768\" and so on.\r\n\r\nThis is only a temp solution for those that requires it to work asap."}}