|
Post by wesleywh on Feb 11, 2020 22:15:44 GMT
Also are you maximising the windows when running these? If so, dont do that.
|
|
|
Post by link2589 on Feb 11, 2020 22:34:17 GMT
i'm on windows not mac hehe ^^
|
|
|
Post by link2589 on Feb 11, 2020 22:35:37 GMT
i have tried few things but stil not working , perhaps sjl is right and this issue is comming from unity
|
|
|
Post by wesleywh on Feb 11, 2020 22:37:30 GMT
This is seeming to become more common. I think I will need to stop what I'm working on for a bit, download this current release and see if I can get a patch for this out. Right now I'm hard coding values for buttons but I think I will need to rewrite it to be dynamic based on percentages. That might solve these issues.
Will start working on this tonight
|
|
|
Post by sjl on Feb 11, 2020 23:26:24 GMT
I'm guessing both of you are on Mac and not windows? No I'm on Windows like I said using two different versions of unity still nothing deleted reimported nothing... Unplugged external monitor and used just lappy screen same issue... Inspected the UI the buttons are not there at all unity is crazy with buttons be it ui or module Windows... Unless these buttons are running off screen they are not there at all... I honestly suggest finish what your currently doing at the moment and then come back to address the issue that way all could be fixed with your next update that to me "in my opinion" is the best option" Best of luck, SJL
|
|
|
Post by wesleywh on Feb 12, 2020 1:22:46 GMT
Can someone that is having this issue do me a favor?
Open the following file:
InvectorMultiplayer/Editor/Scripts/Windows/E_CoreObjects.cs Then line 27 which has this line:
GetWindow<E_CoreObjects>("Core Objects"); Change it to be this:
EditorWindow window = GetWindow<E_CoreObjects>("Core Objects");
window.maxSize = new Vector2(500f, 280f);
window.minSize = window.maxSize; Then click out of unity and back in and wait for it to recompile. Then tell me if your buttons come back. If that fixes it then I will push it out.
|
|
|
Post by wesleywh on Feb 12, 2020 1:29:36 GMT
If that doesn't work then in that same file (after adding those lines) starting on line 74 make sure it looks like the following:
if (GUI.Button(new Rect(20, position.height - 50, 220, 30), "Add Network Manager", _skin.GetStyle("Button")))
{
AddNetworkManagerToScene();
}
if (GUI.Button(new Rect(260, position.height - 50, 220, 30), "Add PreBuilt UI", _skin.GetStyle("Button")))
{
AddPreBuildUIToScene();
} Again, recompile, close the window, and re-open it.
|
|
|
Post by wesleywh on Feb 12, 2020 1:57:38 GMT
Either way I'm uploading this to the asset store in an attempt to fix many of these issues for people.
|
|
|
Post by blackfire on Feb 12, 2020 2:22:28 GMT
I had this issue too but I thought it was just because I bought the shooter template
|
|
|
Post by wesleywh on Feb 12, 2020 2:41:26 GMT
blackfire Have you tried any of those suggested solutions? Also does anyone get any errors when they open those editor windows?
|
|
|
Post by wesleywh on Feb 12, 2020 2:47:49 GMT
btw I did figure out the bug related to item drops/pickups. Ended up being much easier than I original anticipated. So now I can start working on updating the editor windows so I can automate all of these things that I did manually while testing.
|
|
|
Post by sjl on Feb 12, 2020 3:13:55 GMT
Currently I'm at work ( gotta make that dollah) and will be about another 3.5 to 4 hours before I get out and will try your possible fix to help assure and confirm or not if it works...
Best of luck, SJL
|
|
|
Post by blackfire on Feb 12, 2020 7:28:21 GMT
i'm sorry I havent been able to try it yet
|
|
|
Post by sjl on Feb 12, 2020 8:12:48 GMT
after ADDING BOTH SETS OF THOSE LINES YOU STATED ABOVE IT NOW SHOWS THE BUTTONS in the add core objects the perform scene test windows over lap each other... but now able to add core objects cant convert scene there is no button
BEST OF LUCK, SJL
|
|
|
Post by sjl on Feb 12, 2020 10:19:11 GMT
Ok yes it's unity throwing buttons every where lol... After looking back at your fix for the core objects I went and changed the button locations for the convert scene and convert prefab and now they all show and work like they was meant to...
Now my battle to connect to pun stuff to do pun stuff now begins... Lol
Best of luck, SJL
|
|