tried to hide mouse cursor, but it stays visible

i already use google, and i found this script for unity 5 for hiding mouse cursor,

Cursor.lockState = CursorLockMode.Locked;
Cursor.visible = false;
UnityEngine.Cursor.visible = false;

but the mouse cursor stays visible, and i found out that this issue exist since beta,

anyone knows how to hide mouse cursor ?

You’re locking the state of the cursor before trying to change the state of the cursor?

EDIT: Looking it up, this process doesn’t appear to be done in the manner I thought it was, so locking it first is fine. It also appears to be a well-known bug. Out of curiosity, does this occur only in the editor or for actual builds being played in the actual environment that they’re meant for?

well, it was on editor, i’m still a beginner, so i haven’t had any game builds.

btw, i lost all my progress, because unity editor doesn’t response to saves,
even when i exit it, it asked “do you want to save ?” i click yes.
but nothing is saved, so i lost hours of tinkering around…

is this normal in unity ?
not being able to save project or scene ?

and also, the 64 bit version isn’t compatible with my cpu, which is kinda old, but i can’t afford to buy new, so i have to make do,

but i think this is what causing 7 days to die (a game made with unity) to not launch, i can launch the game with 32 bit exe, but i have to manually download it using steam command prompt, the dev gave the instructions on how to do it,

but i had to download it manually everytime a new patch is out (the game is in early access).

oh right my CPU is Athlon 64 x2 socket 939.

i wonder if unity will add compatibility for my cpu, i also had to manually update unity, because it wont detect new version.

i was on 5.1.1f and it wont detect that 5.1.2f is available.

It seems like you are running 32Bit windows - either way it is not Unity’s fault.

i’m on win 7 x64, not on x32, i’m not that kind of noob.

i’ve had this issue once, with Banished, and when the dev updated it, i can finally use the 64 bit exe,

besides if i’m on 32 bit, then why does steam detected my OS as 64 bit, and downloaded the 64 bit version of 7DTD ?

besides what makes you think i’m on 32 bit ?

even unity auto detect my OS as 64 bit, and downloaded the 64 bit version, and because of that, i have to download the 32 bit version of unity manually.

I can’t diagnose your hardware problems, but an Athlon 64 X2 socket 939 is an extremely common processor, so the chance that there’s a compatibility issue with your hardware if you can’t find it in 10 seconds with a simple search in the issue tracker is close to zero. That said, it sounds like you have a problem with your operating system if it’s a systemic issue across multiple games (or a defect in your hardware, or bad drivers, etc…). While I won’t go so far as to so “go reinstall windows!” I will say that it seems you might be jumping the gun on this a bit.

As for the saving thing, Unity will not be able to save if you’re actually “playing” when you go to try to save. If you kill the program while it’s playing, I’m not exactly sure what’s going to happen as I’ve never done it, but a dialogue box asking to save and then not being able to save feels like one possibility for sure. Are you having problems saving normally, with the actual save button rather than the dialogue box? Have you tried running the program as Administrator?

The fact that you have to run the 32bit version on a 64bit OS is troubling by itself, and I would post something in the “editor and general” forum instead about that. None of this is about scripting, and the mods/developers for Unity are more likely to check general problem threads than scripting ones, because they have minions like me running around answering the scripting questions.

its not a common cpu, even when its out 10 years ago, its not commonly used,

commonly used cpu is i3, and 10 years ago, majority of people prefer pentium 4, because its made by intel.

its not an issue with my hardware, because i have a spare 60 GB 2.5" hdd, and put clean installation of windows 7 into it, and the issue remain the same,

and 90% of 64 bit software that i used is working, i know its an issue with compatibility because, it crash on launch, and sometimes showing instructions error,

and also steam itself also once did a compatibility patch of this same issue,
i remember reading on steam patch note that says “fixed 64 bit compatibility with athlon 64 x2”.

so nope, my cpu is not a commonly used cpu, majority of people used intel i3.

incase you forgot, intel holds somekinda monopoly, i bought this cpu 10 years ago, because pentium 4 ran too hot for my liking, if i’m not wrong 90-110C.

and about the saving thing :

  1. the play is not turned on
  2. i always ran all app as administrator
  3. yes i have tried saving normally, but it doesn’t seem to respond to me clicking save project or save scene at all.
  4. yes i know its not about scripting, yes the topic have derailed from its original objective
  5. yes sorry for troubling you, but i’m a beginner on making games and using unity, not a beginner on techincal stuff.

I disagree with most of that.

The majority did, but the processor you have was extremely popular (without being the MOST popular), because it was the first dual-core processor from AMD. I had two different computers that both had one- one of them had two. The market share at the time might not have made AMD billions of dollars, but it was certainly common.

Which would be relevant for software, but changing out your HDD is one piece of hardware- you still have the other six or so that make up an average computer, including the processor.

Steam has released compatibility patches for just about every processor, video card, operating system, and Muppet Baby on the market- their compatibility problems aren’t universal problems that they caught like the flu or something, most of them are specific to their own programming screw-ups and oversights.

I didn’t assume that you were when the conversation started, but now that we’ve gotten to this point I can’t help but wonder.

And that sucks, but as I said it was an extremely common processor whether you think so or not- Unity didn’t come out this year. If problems exist specifically with that processor, then I’d wager real money (earned with a real technical job) that it’ll be in the Issue Tracker already. I never said it wasn’t a compatibility issue, but rather that other options exist (and still exist, as your rant ruled none of them out).

Anyways, I’m done with this topic. Have fun, and I sincerely hope your problems are solved.