{"action":"closed","issue":{"url":"https://api.github.com/repos/amethyst/amethyst/issues/1050","repository_url":"https://api.github.com/repos/amethyst/amethyst","labels_url":"https://api.github.com/repos/amethyst/amethyst/issues/1050/labels{/name}","comments_url":"https://api.github.com/repos/amethyst/amethyst/issues/1050/comments","events_url":"https://api.github.com/repos/amethyst/amethyst/issues/1050/events","html_url":"https://github.com/amethyst/amethyst/issues/1050","id":371939398,"node_id":"MDU6SXNzdWUzNzE5MzkzOTg=","number":1050,"title":"Recommending bundle that needs to be used in Error Message","user":{"login":"linonetwo","id":3746270,"node_id":"MDQ6VXNlcjM3NDYyNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/3746270?v=4","gravatar_id":"","url":"https://api.github.com/users/linonetwo","html_url":"https://github.com/linonetwo","followers_url":"https://api.github.com/users/linonetwo/followers","following_url":"https://api.github.com/users/linonetwo/following{/other_user}","gists_url":"https://api.github.com/users/linonetwo/gists{/gist_id}","starred_url":"https://api.github.com/users/linonetwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linonetwo/subscriptions","organizations_url":"https://api.github.com/users/linonetwo/orgs","repos_url":"https://api.github.com/users/linonetwo/repos","events_url":"https://api.github.com/users/linonetwo/events{/privacy}","received_events_url":"https://api.github.com/users/linonetwo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-19T12:37:12Z","updated_at":"2018-10-19T13:40:56Z","closed_at":"2018-10-19T13:40:56Z","author_association":"NONE","body":"I'm learning amethyst and loading .ron files really tortured me.\r\n\r\nIt gives error likes\r\n```\r\n[ERROR][amethyst_assets::progress] error loading handle 0, PREFAB, with name /Users/linonetwo/Desktop/xxx/resources/ui/example.ron, caused by: \r\nError(Asset(\"/Users/linonetwo/Desktop/xxx/resources/ui/example.ron\"), State { next_error: Some(Error(Format(\"Ui\"), State { next_error: Some(Error(Msg(\"Failed parsing Ron file\"), \r\nState { next_error: Some(Parser(ExpectedStruct, Position { col: 43, line: 88 })), backtrace: None })), backtrace: None })), backtrace: None })\r\n```\r\n\r\nAnd I don't really know why line 88 fails this .ron file:\r\n```rust\r\ntext: (\r\n                        text: \"Editable\",\r\n                        font: File(\"font/square.ttf\", Ttf, ()),\r\n                        font_size: 75.,\r\n                        color: (0.2, 0.2, 1.0, 1.0),\r\n                        align: MiddleRight, <- Line 88 col 43\r\n                        editable: (\r\n                            max_length: 12,\r\n                        ),\r\n                    )\r\n```\r\n\r\nI've struggle loaded the mesh, after getting lots of error, and sometimes without any error, I know that the cause is that I didn't use \r\n```rust\r\n.with_bundle(TransformBundle::new())?\r\n```\r\nAnd the Error message just says some line was wrong in the .ron file. After massive trying could I know I should use this bundle, so `.ron` file could load properly. This dramatically increases the cost to learn amethyst."}}
{"actor":{"display_login":"linonetwo"}}