That's really odd. I gotta try to replicate it myself. Is it like the variable simply does't exist? strange.
Edit: I used some custom menus and options on my projects. Maybe that makes some difference? Gotta test more. I think I can try to reimplement it when I am more free on time