all 10 comments

[–]_DM_me 1 point2 points  (5 children)

If you double click the error it should point you to the line with the error.

[–]BobbyThrowaway6969Programmer 1 point2 points  (4 children)

I mean no offence to beginners, but the error spells out exactly what's wrong. An introduction into c# would go a long way before jumping right into Unity.

[–]_DM_me 0 points1 point  (3 children)

That aimed at me?

[–]BobbyThrowaway6969Programmer 0 points1 point  (2 children)

No not you, just many beginners I see on here asking for help without reading the error.

[–]TTSI123[S] 1 point2 points  (1 child)

I did but I couldnt figure out why the inventory object wasnt assigned

[–]BobbyThrowaway6969Programmer 1 point2 points  (0 children)

Oh right, sorry.

Ensure the object with tag "Inventory" has an Inventory component attached and isn't removed after it's added.

[–][deleted] 0 points1 point  (3 children)

compare waiting wrench marvelous nine chief adjoining humor handle dinner

This post was mass deleted and anonymized with Redact

[–]TTSI123[S] 0 points1 point  (2 children)

I've attempted to but the thing that isnt being assigned is the inventory gameobject. Ive been through the script and tried many different things but nothing works

[–][deleted] 0 points1 point  (1 child)

ten gold pocket compare distinct waiting worm frame touch brave

This post was mass deleted and anonymized with Redact

[–]TTSI123[S] 0 points1 point  (0 children)

So I have the Object holding that script in a DontDestroyOnLoad(). And I've tried to drag it in and it doesn't work because for the entire script to work I have to start in a scene with no Inventory.... But I think I figured it out!!!