{"action":"opened","issue":{"url":"https://api.github.com/repos/AtomicGameEngine/AtomicGameEngine/issues/881","repository_url":"https://api.github.com/repos/AtomicGameEngine/AtomicGameEngine","labels_url":"https://api.github.com/repos/AtomicGameEngine/AtomicGameEngine/issues/881/labels{/name}","comments_url":"https://api.github.com/repos/AtomicGameEngine/AtomicGameEngine/issues/881/comments","events_url":"https://api.github.com/repos/AtomicGameEngine/AtomicGameEngine/issues/881/events","html_url":"https://github.com/AtomicGameEngine/AtomicGameEngine/issues/881","id":161035714,"number":881,"title":"Mismatched case in \"require\" calls causes built player to crash","user":{"login":"shaddockh","id":2951562,"avatar_url":"https://avatars.githubusercontent.com/u/2951562?v=3","gravatar_id":"","url":"https://api.github.com/users/shaddockh","html_url":"https://github.com/shaddockh","followers_url":"https://api.github.com/users/shaddockh/followers","following_url":"https://api.github.com/users/shaddockh/following{/other_user}","gists_url":"https://api.github.com/users/shaddockh/gists{/gist_id}","starred_url":"https://api.github.com/users/shaddockh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaddockh/subscriptions","organizations_url":"https://api.github.com/users/shaddockh/orgs","repos_url":"https://api.github.com/users/shaddockh/repos","events_url":"https://api.github.com/users/shaddockh/events{/privacy}","received_events_url":"https://api.github.com/users/shaddockh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-18T17:50:04Z","updated_at":"2016-06-18T17:50:04Z","closed_at":null,"body":"It appears that if you require in a file that doesn't explicitly match the case of that file, it causes the generated player to exit without logging any errors.  \r\n\r\nso, for file: ```customModule.js```,\r\nif you use\r\n```\r\nvar customModule = require('custommodule');\r\n```\r\nbut\r\n```\r\nvar customModule = require('customModule');\r\n```\r\nworks.\r\n\r\nIt will work if you launch the player from the ```play``` menu button, but as soon as you build out an executable and try to launch it, it will simple exit immediately without writing an error to the log.  I think proper casing should still be required, but the following probably needs to happen\r\n1) both the editor and generated player should handle it the same way and enforce strict casing\r\n2) the generated player should log some kind of error message to the console instead of failing silently\r\n"}}
{"actor":{"display_login":"shaddockh"}}