I'm assigning prefabs.
I added the code but it didn't alter performance. The only visual difference was that I no longer saw the constant ID of the prefabs.
It's pretty hard to pinpoint what is causing this lag. Every time I feel like I've figured…
No, there is no scene change. The dialog is said by the active playing character.
But when I switch character, my previous character is removed from the scene. I guess that's what's causing it? Here's the error I get:
"MissingReferenceExcepti…
It's nothing special. I'm only using basic actions like moving characters, facing characters, setting variables, running dialogs... My actionlists can easily have 60 actions in them but the lag occurs much sooner than that. It's the amount of them o…
That was it. Heh I've never done this before so I had zero clue that this was a necessity, but I see now why that would make sense. :blush:
Feeling like a straight up hackerman genius now that I've also added the CursorDisplay setting to my scripts…
Thanks, guys! I like the idea of being able to swap mode mid-scene, actually. And attaching the script to a prefab and then dropping that prefab in the scene seems like a simple way of doing so, from action lists. I imagine I would have two separate…
Thanks, Chris!
And with the risk of sounding as a complete imbecile, how do I run this code? I'd like to run it from an action list. I've done everything 100% through action lists so far and haven't had to use a line of actual code as of yet. (Prai…
Actually, using "teleport inactive" just solved everything. :smile:
Hopefully this brief display of laziness and ignorance didn't waste anyone's time other than my own heh. Feel free to delete this whole thing or marked as resolved or wha…
Deeerp. Ten seconds later I look in the docs and learn about "Teleport inactive". I'll check the docs first next time lol. But my second issue remains most likely.
Thanks for putting me on the right path, Chris. It was indeed a camera issue.
This is a HDRP project and by default there's a "simple camera controller" component on the main camera. When I started WASDing, the camera didn't physically mo…
Thanks, man. I really appreciate it. I stitched the whole thing together, so brace for a long jpeg!
https://www.dropbox.com/s/jytpgi2jjhgboie/adventurecreator.jpg?dl=0
Oh and this is how I switch player:
https://www.dropbox.com/s/pfmbwpsyz958rzr/…