#This one

1 messages · Page 1 of 1 (latest)

topaz topaz
#

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.

rose hamlet
#

But that would be the whole console as far as I'm aware

topaz topaz
#

I was having a hard time reading it even in this picture, but i got it

rose hamlet
#

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?)

unkempt lark
#

what platform are you targeting for your build?

topaz topaz
#

yea just copy and paste a few lines above and below TextSlider.cs line 6

#

with ```cs ``` before and after

rose hamlet
#

The problem with this is that TextSlider.cs isn't anywhere in my scripts folder

topaz topaz
#

then it's somewhere else

rose hamlet
#

It's located somewhere I can't find in Visual Studio

topaz topaz
#

then look in unity

unkempt lark
#

as the error message says, it's directly in the Assets folder

rose hamlet
#

Ok, I found it, I think

#

"using UnityEngine.WSA;"

topaz topaz
#

so

rose hamlet
#

I think it got generated when I created the script

topaz topaz
#

can you send a screenshot of that?

rose hamlet
#

Yes

topaz topaz
#

not JUST that single line. Please make it a bit bigger

unkempt lark
#

remove that line, do you receive any other errors?

rose hamlet
#

I commented it out

topaz topaz
#

when you uncomment it out is there any warnings or errors on it saying it's unnecessary?

rose hamlet
#

Yes, when I hover directly over it

topaz topaz
#

cus it doesn't look necessary to me

#

try building with that

rose hamlet
#

Ok, I'll try it and if it doesn't work I'll ping back

topaz topaz
#

cus apparently WSA is microsoft-store specific, so I imagine that could cause problems depending what you're targeting.

rose hamlet
#

OMG

#

I think it worked!!

#

I'll test the build out

topaz topaz
#

nice. It probably got auto-completed in there at some point.

rose hamlet
topaz topaz
#

visual studio can auto generate all that?

#

crazy