{"action":"closed","issue":{"url":"https://api.github.com/repos/CRYTEK/CRYENGINE/issues/392","repository_url":"https://api.github.com/repos/CRYTEK/CRYENGINE","labels_url":"https://api.github.com/repos/CRYTEK/CRYENGINE/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/CRYTEK/CRYENGINE/issues/392/comments","events_url":"https://api.github.com/repos/CRYTEK/CRYENGINE/issues/392/events","html_url":"https://github.com/CRYTEK/CRYENGINE/issues/392","id":304108829,"number":392,"title":"C# API-ParticleEmiter-Challenge Find Bugs & Crashes","user":{"login":"Ahmad0Karami","id":18755263,"avatar_url":"https://avatars0.githubusercontent.com/u/18755263?v=4","gravatar_id":"","url":"https://api.github.com/users/Ahmad0Karami","html_url":"https://github.com/Ahmad0Karami","followers_url":"https://api.github.com/users/Ahmad0Karami/followers","following_url":"https://api.github.com/users/Ahmad0Karami/following{/other_user}","gists_url":"https://api.github.com/users/Ahmad0Karami/gists{/gist_id}","starred_url":"https://api.github.com/users/Ahmad0Karami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ahmad0Karami/subscriptions","organizations_url":"https://api.github.com/users/Ahmad0Karami/orgs","repos_url":"https://api.github.com/users/Ahmad0Karami/repos","events_url":"https://api.github.com/users/Ahmad0Karami/events{/privacy}","received_events_url":"https://api.github.com/users/Ahmad0Karami/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-10T21:55:03Z","updated_at":"2018-03-21T10:55:10Z","closed_at":"2018-03-21T10:55:10Z","author_association":"NONE","body":"Crash Type -> ParticleEmiter / Unknow File\r\n\r\nNumbers -> One Crash\r\n\r\nTool -> C# API\r\n\r\nOS: Windows 10 -64 Bit\r\n\r\nVersion Number: Exact version number: 5.4.0 Build 164 Final\r\n\r\nCPU : Core i7 - 4GHz\r\nRAM : 16GB\r\nGC : Nvidia GTX 760\r\nHard : 1 TB\r\n\r\n\r\nProblem :\r\n\r\nI wrote My Entity with C# Code , when I want Load a Particle at Sandbox first load time level Crash Engine , But I see **Build Success** for My Code\r\n\r\n![1-1](https://user-images.githubusercontent.com/18755263/37247067-717b49b0-246a-11e8-8ddb-f1f8c3317707.jpg)\r\n\r\n![1-2](https://user-images.githubusercontent.com/18755263/37247069-738d11b6-246a-11e8-97a0-2e8bebe68759.jpg)\r\n\r\nPlease see my code and please check **this crash with Editor-Log**  , thanks a lot\r\n\r\n\r\n[editor.log](https://github.com/CRYTEK/CRYENGINE/files/1799834/editor.log)\r\n\r\n\r\nthis is my code\r\n\r\nusing System;\r\nusing CryEngine.UI;\r\nusing CryEngine.UI.Components;\r\nusing CryEngine.Resources;\r\n\r\nnamespace CryEngine.Game\r\n{\r\n//\t[EntityClass]\r\n\tpublic class MyEntity:EntityComponent\r\n\t{\r\n\t\tfloat _mass;\r\n\t\tstring _geometry;\r\n\t\tParticleEffect _particle;\r\n\r\n\r\n\r\n\t\t[EntityProperty]\r\n\t\tpublic float mass \r\n\t\t{\r\n\t\t\tget {  return _mass;}\r\n\t\t\tset { _mass = value; \r\n\t\t\t\t\r\n\t\t\t\tReset ();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t[EntityProperty(EntityPropertyType.Geometry)]\r\n\t\tpublic string Geometry\r\n\t\t{\r\n\t\t\tget { return _geometry;}\r\n\t\t\r\n\t\t\tset { _geometry = value; Reset (); }\r\n\t\t}\r\n\r\n\r\n\r\n\t\t[EntityProperty(EntityPropertyType.Particle)]\r\n\t\tpublic ParticleEffect myparticle\r\n\t\t{\r\n\t\t\tget { return _particle; }\r\n\t\t\tset { _particle = value;\r\n\r\n\t\t\t\tReset ();\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\r\n\t\tvoid Reset()\r\n\t\t{\r\n\t\t\t\r\n\t\t\tEntity.LoadGeometry (0, _geometry);\r\n\t\t\tEntity.Physics.Physicalize (_mass, Common.EPhysicalizationType.ePT_Rigid);\r\n\t\t\t//Entity.Physics.AddImpulse (new Vector3(1000,10,0));\r\n\t\t\tEntity.LoadParticleEmitter(0,_particle,1);\r\n\r\n\t\t\r\n\r\n\t\t}\r\n\r\n\r\n\t}\r\n}\r\n\r\n\r\n\r\n "}}
{"actor":{"display_login":"Cry-Support"}}