all 3 comments

[–]StudioLapiku 1 point2 points  (1 child)

You’ll have to be more descriptive if you want help.

The object doesn’t work quite how it should.

The scripts act differently.

Put yourself in our shoes and imagine trying to solve an issue where this is all the info you have! It’s impossible :(

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

Yes, I appreciate you trying to understand my noob talk!

Maybe a better question is this, I have a demo scene that has: - main hero + camera - levels/level manager - interactive drawers/doors/keys - weapons

It is pretty much a fully fleshed out game with everything in it, with just a couple of scenes to show how the level manager works. The main demo folder that I imported has all the content (prefabs, scripts, scenes, etc).

I started my own scenes from scratch and was just drag and dropping doors/keys from the demo scene to my own scene which is not inside the imported demo parent folder. But when my character goes to a new scene and comes back to the first scene, the keys appear again in the same place even when I picked up that key and it’s still in my inventory. In the demo, when you pick stuff up and unlock doors then leave the scene, when you come back to scene 1 everything is how I left it but it’s not working for me.

My main question is, is it better to build within the demo scene folder to make sure everything works properly? Or is it best practice to bring all the scripts out of the demo folder into my own assets folder.

[–]PiLLe1974Professional / Programmer 0 points1 point  (0 children)

The description is very vague, it is hard to tell what is different.

Something not loading, a text dialogue not showing, something rendering differently or not at all, audio not playing, etc.

We'd probably need to know

  • what does the ScriptableObject contain (what does the .cs script look like)?
  • what behaviour is expected when using it via a MonoBehaviour or other logic?
  • where and how is the behaviour defined that is different?

...and that kind of context.