{"action":"created","issue":{"url":"https://api.github.com/repos/GodotNativeTools/godot-d/issues/21","repository_url":"https://api.github.com/repos/GodotNativeTools/godot-d","labels_url":"https://api.github.com/repos/GodotNativeTools/godot-d/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/GodotNativeTools/godot-d/issues/21/comments","events_url":"https://api.github.com/repos/GodotNativeTools/godot-d/issues/21/events","html_url":"https://github.com/GodotNativeTools/godot-d/issues/21","id":306997158,"number":21,"title":"Property setters not called when instancing scenes","user":{"login":"sheepandshepherd","id":11854330,"avatar_url":"https://avatars1.githubusercontent.com/u/11854330?v=4","gravatar_id":"","url":"https://api.github.com/users/sheepandshepherd","html_url":"https://github.com/sheepandshepherd","followers_url":"https://api.github.com/users/sheepandshepherd/followers","following_url":"https://api.github.com/users/sheepandshepherd/following{/other_user}","gists_url":"https://api.github.com/users/sheepandshepherd/gists{/gist_id}","starred_url":"https://api.github.com/users/sheepandshepherd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheepandshepherd/subscriptions","organizations_url":"https://api.github.com/users/sheepandshepherd/orgs","repos_url":"https://api.github.com/users/sheepandshepherd/repos","events_url":"https://api.github.com/users/sheepandshepherd/events{/privacy}","received_events_url":"https://api.github.com/users/sheepandshepherd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-20T18:58:41Z","updated_at":"2018-03-20T20:40:22Z","closed_at":null,"author_association":"COLLABORATOR","body":"For certain scenes, properties on nodes with D scripts don't ever get set after `PackedScene.instance()`. The same properties load correctly if they're on Resources instead of Nodes.\r\n\r\nPossibly caused by using SubResource NativeScripts (the ones automatically created for each class in NativeScriptTemplates) instead of real `.gdns` files. NativeScriptTemplate could be changed to auto-generate `.gdns` files in `res://` when the library is loaded inside the editor..."},"comment":{"url":"https://api.github.com/repos/GodotNativeTools/godot-d/issues/comments/374748787","html_url":"https://github.com/GodotNativeTools/godot-d/issues/21#issuecomment-374748787","issue_url":"https://api.github.com/repos/GodotNativeTools/godot-d/issues/21","id":374748787,"user":{"login":"sheepandshepherd","id":11854330,"avatar_url":"https://avatars1.githubusercontent.com/u/11854330?v=4","gravatar_id":"","url":"https://api.github.com/users/sheepandshepherd","html_url":"https://github.com/sheepandshepherd","followers_url":"https://api.github.com/users/sheepandshepherd/followers","following_url":"https://api.github.com/users/sheepandshepherd/following{/other_user}","gists_url":"https://api.github.com/users/sheepandshepherd/gists{/gist_id}","starred_url":"https://api.github.com/users/sheepandshepherd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheepandshepherd/subscriptions","organizations_url":"https://api.github.com/users/sheepandshepherd/orgs","repos_url":"https://api.github.com/users/sheepandshepherd/repos","events_url":"https://api.github.com/users/sheepandshepherd/events{/privacy}","received_events_url":"https://api.github.com/users/sheepandshepherd/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T20:40:22Z","updated_at":"2018-03-20T20:40:22Z","author_association":"COLLABORATOR","body":"Actually caused by ResourceSaver for PackedScene saving properties in the wrong order - specifically, it doesn't put `script` first. It does this correctly in-editor for NativeScripts, and always for GDScripts."}}
{"actor":{"display_login":"sheepandshepherd"}}