GML Problem with instance_deactivate_layer()

sjyoooon

Member
Let's say there's a "room A" with persistent on.
instance_deactivate_layer() works fine here.
but go to another room and come back to "room A",
instance_deactivate_layer() not works.

Is it a bug or there's something I'm missing?
 

sjyoooon

Member
Deactivated instances don't get saved. Reactivate them just before changing rooms.
In my case, the problem was I didn't deactivated instances and go to another room and come back, then invoke instance_deactivate_layer() doesn't work. Anyways this is turned out to be the bug of current stable release. The issue is fixed in latest beta release.
 
Top