YouGroove Posted April 20, 2014 Share Posted April 20, 2014 I've got this message : Possible reference count error for asset "c:/le3/shootemup_kit/materials/effects/default.mat" That happens when i tell some ship prefab in it's input script a path to a particle prefab. The particle has no problem, but once i put in on the ship, when the ship prefab is loaded and spawned with the smoke prefab in it, i have this message and the game crashes. Anyone has got some idea ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
YouGroove Posted April 20, 2014 Author Share Posted April 20, 2014 How to test : 1) download ShootEmUp kit : http://www.leadwerks.com/werkspace/files/file/524-shootemup-kit/ Dezip and open the project in LE3. 2) create a particle emitter in the 3D scene -add a material ike LE3 default smoke - attach smoke lua script from scripts of the project 2) Save the object (particle and smoke script attached) as prefab named for exampel : smokeDestroy 3) Select redShip model from from scene panel in prefab hierarchy and attach the smoke prefab to it 4) save the redShip object as redShip prefab Run the game to see the error. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.