{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/6763","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/6763/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/6763/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/6763/events","html_url":"https://github.com/godotengine/godot/issues/6763","id":181915257,"number":6763,"title":"Custom-made resource types cannot be used in export statement","user":{"login":"MutantOctopus","id":14201600,"avatar_url":"https://avatars0.githubusercontent.com/u/14201600?v=4","gravatar_id":"","url":"https://api.github.com/users/MutantOctopus","html_url":"https://github.com/MutantOctopus","followers_url":"https://api.github.com/users/MutantOctopus/followers","following_url":"https://api.github.com/users/MutantOctopus/following{/other_user}","gists_url":"https://api.github.com/users/MutantOctopus/gists{/gist_id}","starred_url":"https://api.github.com/users/MutantOctopus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MutantOctopus/subscriptions","organizations_url":"https://api.github.com/users/MutantOctopus/orgs","repos_url":"https://api.github.com/users/MutantOctopus/repos","events_url":"https://api.github.com/users/MutantOctopus/events{/privacy}","received_events_url":"https://api.github.com/users/MutantOctopus/received_events","type":"User","site_admin":false},"labels":[{"id":73330064,"url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222","default":true},{"id":279098082,"url":"https://api.github.com/repos/godotengine/godot/labels/topic:gdscript","name":"topic:gdscript","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-09T22:09:45Z","updated_at":"2018-04-08T15:14:17Z","closed_at":null,"author_association":"NONE","body":"**Operating system or device - Godot version:**\nWindows 10 - Godot 2.1 Stable\n\n**Issue description** (what happened, and what was expected):\nCreated a custom resource type as a plugin and attempted to `export(CustomResource)`, which raises `error(17,7): Export hint not a type or resource.`\n\n**Steps to reproduce:**\nCreate a plugin which defines a custom resource type. `add_custom_type` like the plugins tutorial shows (Specifically, `add_custom_type(\"Name\", \"Resource\", preload(\"plugin_source.gd\"), preload(\"icon.png\"))`). The new type will appear in the \"create resource\" menu, but attempting to `export(CustomResourceName)` will raise the error.\n\n**Link to minimal example project**:\n[Custom Resource (2.1s).zip](https://github.com/godotengine/godot/files/518589/Custom.Resource.2.1s.zip)\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/379557820","html_url":"https://github.com/godotengine/godot/issues/6763#issuecomment-379557820","issue_url":"https://api.github.com/repos/godotengine/godot/issues/6763","id":379557820,"user":{"login":"Noshyaar","id":26753932,"avatar_url":"https://avatars0.githubusercontent.com/u/26753932?v=4","gravatar_id":"","url":"https://api.github.com/users/Noshyaar","html_url":"https://github.com/Noshyaar","followers_url":"https://api.github.com/users/Noshyaar/followers","following_url":"https://api.github.com/users/Noshyaar/following{/other_user}","gists_url":"https://api.github.com/users/Noshyaar/gists{/gist_id}","starred_url":"https://api.github.com/users/Noshyaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Noshyaar/subscriptions","organizations_url":"https://api.github.com/users/Noshyaar/orgs","repos_url":"https://api.github.com/users/Noshyaar/repos","events_url":"https://api.github.com/users/Noshyaar/events{/privacy}","received_events_url":"https://api.github.com/users/Noshyaar/received_events","type":"User","site_admin":false},"created_at":"2018-04-08T15:14:17Z","updated_at":"2018-04-08T15:14:17Z","author_association":"MEMBER","body":"Is this fixed by #16995?"}}
{"actor":{"display_login":"Noshyaar"}}