Fixed now, found the answer in an older thread,
Chris, you said:
defaultName = System.Text.RegularExpressions.Regex.Replace (defaultName, "[^\w\_]", "");
And replace it with:
defaultName = System.Text.RegularExpressions.Regex.…
The items name is Scrubbing Brush, I have other items that work fine like Silver Key, so it can't be spaces or Capital letters giving me the issue, as far as I can tell the new item is just like any other :/
My Unity version is 2020.2.5f1
This is the full error:
ArgumentException: parsing "[^\w_]" - Unrecognized escape sequence _.
System.Text.RegularExpressions.RegexParser.ScanCharEscape () (at :0)
System.Text.RegularExpressions.RegexParser.S…
Thanks for the reply Chris my version is v1.60.4 I checked and checked for special characters but it seems to be no different to any of my other inventory items, I tried renaming them to something very simple and it still didn't allow me to create,…
As you make more animations you will have to drag them from your animations folder into the characters animator window, then they can be found. edit: nevermind I see them in there.
I think you need to have a folder called Player and then folders ins…
Actually looking at it again the character can be right in the middle of the cameras movement so that if he walks a few steps left or right the camera moves with him smoothly, so to be more accurate it happens when I click on the navmesh far enough …
The spikes in the deep profile are the colours of 'physics' and 'garbage collector' both happen when the player and camera move together and it drops to 3 or 4 frames a second! Everything returns to normal when either the character or the camera sto…
Also, I think I've narrowed it down to happening when the player and the camera move at the same time, it runs perfectly when he/the camera stops moving, and all the other scenes that are static run perfectly too
Hey Chris thanks for the reply, I've just fixed it, In the onstart cutscene I had something happening before the scene checks, a variable check saying if true turn something on, then carry on to the scene checks (to check where he came from) but I h…
Thank you Chris, I am now using AC's footstep sounds instead, and I got it working with different sounds for different surfaces, which was going to be my next question :smile:
Thanks again!
Weird, it's suddenly working! :/ the only change I made is changing the sorting map to be sorting layers instead and rechecked Offset original Order and Also affect children, I disabled the CopySpriteOrder script completely and it suddenly worked,
l…
Hi Chris thanks for the reply,
Sorry I didn't mean to say mechanim, my player uses Sprites Unity.
I have a character made up of multiple sprites linked up in a hierarchy starting from the body sprite, and animated in unity's animation window.
Beca…
On further investigation, this sounds like exactly what I need:
http://adventure-creator.wikia.com/wiki/Special:Search?query=mechanim+sorting+maps
Except I have no idea how to make a mechanim version of this script :/
Edit:
I managed to get it wo…
Hi Chris, sorry for the late reply I have been away for a while, thank you for the responses, I have worked out that the problem was my inventory menu, which i am controlling via an invisible button so I can mouse over that and reveal the inventory …
Thanks Chris, I added it to the end and this is what the console said, all three popped up when the cursor was still over the hotspot, so it gave a Flase, True, False all at once on one mouseover:
Selected Hotspot Hotspot2D_MH_Stairs_Exit_Hall, Lo…
My Unity version is 2017.3.0f3 and my AC is 1.60.4, I know they are out of date a bit but I'm just scared to update in case I can't fix any potential issues.
Thanks again for the reply,
Here's my set up:
(Image)