So like the title says...It won't go away. I've deleted it off the object editor but it' still in the list of objects on the left. What gives?

Can't get rid of an active object.
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
are there any lingering "create" events associated with the object? if there are, try deleting those and see if it goes away.
-
Also try removing any Qualifier groups. Once you have deleted the object, you might need to restart CF2.5 as well to get the ui to refresh.
-
I have the same problem and no idea how to solve it.
The problem is also that I am not able to replicate the problem to search for a bug.
-
Next to removing qualifiers and create events you can right click on the ghost object in Event Editor and choose replace with another (dummy) object. Then delete the dummy object, save and reload your .mfa. There are ghosts you simply cannot get rid of. I’ve a couple in my long running project. The do no harm tho, I wouldn’t care too much.
-
Interesting. Thanks all...
-
I tried with the replace method, but it is not working for me.
-
As I said, some ghosts will stay forever, no matter what you do^^
-
[MENTION=30565]AM_Games[/MENTION]
As Julian said, those ghost objects generally do no harm, so you can leave them where they are.
Maybe make sure that in their 'object properties > runtime options' the 'create at start' option is unticked, to avoid them to be created in the layout and consume memory.
If you still can see these objects in the debugger, you can simply add to them this behaviour: 'if number of GhostObject > 0 --> destroy'---
Anyway, if for some reason, you really need to get rid of those ghost objects, you could try the following:
1- Try to look for references to these objects in the 'Event List Editor' instead of the 'Event Editor' (or viceversa). It happened to me to find objects in one editor and not in another. If you find them, delete the references, save the application, restart and see if the ghost objects disappeared.
2- (this is quite an extreme measure, so backup first!) Create a 'new frame', and configure it exactly as the 'old frame' which contains the ghost objects: same width and height, same properties, same background color, same number and name of layers, etc.
Then, go to the 'old frame', press ctrl+A to select all the objects on the layer, copy them and paste them in to the 'new frame', keeping their original position on the frame. Be careful: if you have more than one layer, you should repeat this process for all layers (select the first layer in old frame and hide the others, ctrl+A and paste in to new frame, go back to the old frame and select the second layer, ctrl+A and copy, paste in to new frame, and so on...).
Then, go to Event Editor of 'old frame', select all event lines, copy them and paste them in the Event Editor of 'new frame'. Save the app and restart Fusion. If everything goes right, you should have the new frame identical to the old one (and working just like that), minus the ghost objects.
Honestly, this is a lot of work and there's a chance it may break something in the frame so I again advise to simply ignore the ghost objects.
-
It happened to me as well a few months ago. I reported the solution I found to clickteam via the bugbox (rip).
My ghost objects all came from "create object" events. It seems deleting these events sometimes messes things up in CF.What I discovered :
> the ghost objects created after deleting "create object" events, were somehow linked to other "create object" events (even if the other created object had nothing to do with the ghost one). I had to test all my code and replace these corrupted -though fully working- "create object" events. And the ghost objects disappeared eventually.Test this on a copy of your .mfa : if you delete ALL your code, are the ghost objects still there ? If not, they're probably linked to other events. Find them by deleting your code little by little, and check if the ghost object disappears.
-
if you are developing for mobile, ghost objects are pretty bad in my case, especially android 6-7 even good midhighrange phone, it will crash it or hoards up memory,
problem only appears if you are expanding your game. I dont have any problems on PC build as it is faster...
ps. I cant even pinpoint ghost/corrupted object as much, but they usually belong to qualifiers -
easiest way to get rid of is, is create a new MFA and copy the frames into it.
then save and it's gone.If it's still there, then you have somewhere an global event that might use it.
-
SO....my computer...I use to monitors (who doesn't now a days.). I work on my game a little each day, hit save when I'm done but I never actually close Fusion I just use the other monitor for whatever. Yesterday, I decided to close it and shut the computer down to give it a rest as I never turn it off ever. POOF all the ghost active objects are gone!! YAAY!
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!