Type Mismatch error with script

Hello I have this Item I want to set active to false whenever a certain number of counters is met, which increment each time one of the tiles on the wall is touched on the floor. However, whenever i put the item into the component area to interact with the script it gives me “Type Mismatch” i can put the prefab directly from the assets folder in there however it does not set active to false with the counters. Help would be appreciated.

You cannot reference scene objects from project-level assets. The opposite is fine however.

It sounds like you should have an in-scene instance of this prefab that references the other in-scene game objects.