WordPress not showing latest WP version available

I wanted to update one of my WordPress sites from 4.2.2 to the latest but WordPress did not show me there is a new version available even though WordPress is already on version 4.3.

If this happens to you the first thing you should check is to see if there is this line in your wp-config.php file :

define( 'AUTOMATIC_UPDATER_DISABLED', true);

In my case it was, so I set it to false however it sadly didn’t resolve the issue.

If the same thing happens to you then I suggest you to install this awesome plugin (just look at the ratings):

WordPress Fence

It immediately found out that WordPress code files were modified by cPanel (most probably if you installed WP via your hosts cPanel), which added few lines to core files that prevent WordPress to show updates (something with incompatibility). Word Fence then offered a bulk replace and replaced these modified files with the clean WordPress core files. Refresh and WP immediately offered and found update to latest WP.

Unity3D – MissingReferenceException: The object of type __ has been destroyed but you are still trying to access it

If you get this error:

"MissingReferenceException: The object of type __ has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object."

then the first thing you should do is to check if you have (additional) inspector window locked. Simply unlock it (you can see the small lock in top right corner of inspector window) and this error should go away.

unity3d inspector lock
I have no idea what is causing it (I am just starting out with Unity) but this solved it. Luckily I found the answer quite fast and did not need to debug and waste a lot of time checking the code when the code was completely fine.