Unity Locking Unlocking Level Sytem

I am using jsonUtility to save and load data for levels lock and unlock levels. And In the levels hub I am using button.interactable to disable and able the buttons. Everything works great in the editor even device simulator. But in real device buttons interactive logic doesn’t work for example they have to be inactive and player pass the level they can be active. I couldn’t find any solution trying 3 days. Help please!