[SOLVED] Manually restart just to load script?

Shoundnt this be the first priority? also I have restarted the engine many many times. Even my Visual studio. Build it many times. Still I cant find on my the list on the script component.

I am using 1.2.1 beta.
Also ung winodws 10 and VS 2015

I have a few questions:

  • When scripts are changed, do you see the Game Studio asking you to reload the new version of the binary?
  • If yes, we found a bug (will be fixed in next release): you have to click on some other entity before the script is visible in the dropdown list of available scripts (property grid was not properly refreshed). Does that fix your issue?

Thanks for the feedbacks.

When scripts are changed, do you see the Game Studio asking you to reload the new version of the binary?

Nope. not at all. The game studio doesnt even detect that I have a script. I restart it many times. Still the same problem, its not detecting my script

No. I tried selecting different entity still the drop down menu doesnt show the script.

EDIT:Okay I reinstall paradox. Still not showing up on my script component my VS script.

This is clearly a bug or something. Did everything you said. I even restart the game studio. Still got the same issue.

EDIT2: something is really wrong.Tried it on my Windows 8 machine. Got the same issue.

Hello Ferb,

Could you try to instantiate a sample (for example SimpleAudio) and see if you can see/add/change the already existing scripts on the scene entities?

Thanks : )

What is your script looking like? Is it a public class? What does it inherit from?

Uhm. this is embarassing.

Sorry guys. The reason I cant see the script is because i didnt put public modifier. Sorry for the troubles.

:disappointed_relieved:

No worries :smile:

Partly our fault, we definitely should have “New script” template in Visual Studio to avoid users running into those issues. Hopefully soon!

Also noticed another issue:

If you create a New Game (not from a Sample), it wouldn’t detect script changes.
Second time, when you load it, everything works fine.

This will be fixed in 1.2.2

Cool. also please add the template. that would a great help to avoid confusion