#This one
1 messages · Page 1 of 1 (latest)
Yea, Can you like click on it and show the whole console so I can see what it says better?
And can you show the code at TextSlider line 6 and the lines around it.
But that would be the whole console as far as I'm aware
I was having a hard time reading it even in this picture, but i got it
Oh
I'll just type it out
Assets\TextSlider.cs(6,19): error CS0234: The type or namespace name 'WSA' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
what platform are you targeting for your build?
yea just copy and paste a few lines above and below TextSlider.cs line 6
with ```cs ``` before and after
The problem with this is that TextSlider.cs isn't anywhere in my scripts folder
then it's somewhere else
It's located somewhere I can't find in Visual Studio
then look in unity
as the error message says, it's directly in the Assets folder
It wasn't displaying before, that's why I couldn't find it
Ok, I found it, I think
"using UnityEngine.WSA;"
so
I think it got generated when I created the script
can you send a screenshot of that?
Yes
not JUST that single line. Please make it a bit bigger
remove that line, do you receive any other errors?
I commented it out
when you uncomment it out is there any warnings or errors on it saying it's unnecessary?
Yes, when I hover directly over it
Ok, I'll try it and if it doesn't work I'll ping back
cus apparently WSA is microsoft-store specific, so I imagine that could cause problems depending what you're targeting.
nice. It probably got auto-completed in there at some point.
It's my fault. I asked Visual Studio to auto generate the file