Also I am unable to add reference for a new entity in the inspector window. Please help me out with this.
This problem is already known. PC team will fix soon.
Please follow this thread for updates: Script Attributes for Entity references not showing in the Editor or being applied (Tue 7 Feb 2023)