Git Product home page Git Product logo

beatsabermarkuplanguage's People

Contributors

andruzzzhka avatar auros avatar cabbagepenetrator avatar caeden117 avatar chrislee0419 avatar ckosmic avatar erisapps avatar exomanz avatar fernthedev avatar futuremappermydud avatar halsafar avatar hardcpp avatar irlbunny avatar kinsi55 avatar luludotdev avatar meivyn avatar monkeymanboy avatar nicoco007 avatar nike4613 avatar pespiri avatar pulselane avatar qe201020335 avatar redbrumbler avatar rithik-b avatar shoko84 avatar sirspam avatar steffandonal avatar zeph-yr avatar zingabopp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

beatsabermarkuplanguage's Issues

Somehow causes an error.

If I have just BSIPA and BSML and no other mods the game crashes with a window named "Beat Saber - Unity 2019.4.28d1_1381962e9d08". I have tried doing all of the recommended fixes for said problem, plus a clean install along with cleaned settings, but none of them have worked.
If I have all mods on mod assistant installed, excluding BSML and any mods that need it, my game runs just fine. If I have no mods the game runs just fine.
I don't know how to gain any more specific info myself, but if I can help you help me then my discord ID is Net-Soul#6284

Background round-rect-panel no longer takes alpha colour

not sure if there was a change to the game that caused this, these backgrounds don't change transparency with a hex like #000000AA:

in beat saber 1.34.2 (BSML 1.8.1)
image

in beat saber 1.36.0 (BSML 1.10.3) - added red colour to test if bg colour is working
image

Beat Saber 1.16.3 - GameplaySetup tabs broken

There's a preview build of 1.16.3 out on Steam now. It contains some major changes for multiplayer, as well as a number of smaller fixes and changes.

BSML seems to work fine for the most part, but some things break when registering gameplay panels.

The following exception is thrown whenever a UI update to the left-side menus are triggered (by opening the solo menu, joining a multiplayer lobby, closing song selection, etc):

[CRITICAL @ 11:41:58 | UnityEngine] TypeLoadException: Failure has occurred while loading a type.
[CRITICAL @ 11:41:58 | UnityEngine] HMUI.ViewController.__Activate (System.Boolean addedToHierarchy, System.Boolean screenSystemEnabling) (at <b375412bba0f46b3a6766de8a90821df>:0)
[CRITICAL @ 11:41:58 | UnityEngine] HMUI.Screen+<TransitionCoroutine>d__5.MoveNext () (at <b375412bba0f46b3a6766de8a90821df>:0)
[CRITICAL @ 11:41:58 | UnityEngine] UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <12e76cd50cc64cf19e759e981cb725af>:0)
[CRITICAL @ 11:41:58 | UnityEngine] UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
[CRITICAL @ 11:41:58 | UnityEngine] HMUI.Screen:SetRootViewController(ViewController, AnimationType)
[CRITICAL @ 11:41:58 | UnityEngine] HMUI.FlowCoordinator:SetLeftScreenViewController(ViewController, AnimationType)
[CRITICAL @ 11:41:58 | UnityEngine] HMUI.FlowCoordinator:PresentFlowCoordinator(FlowCoordinator, Action, AnimationDirection, Boolean, Boolean)

The first time this happens, the left side does not load properly:

image

Another symptom is that menus registered with MenuType.Online still appear in the Solo menu in this state.

After that, the modifiers panel will not load altogether, appearing blank in multiplayer or just showing the "Mods" panel in Solo:

image

Once this happen, it also has the knock-on effect of breaking multiplayer lobbies altogether.

There is no issue when there are no gameplay panels registered via BSML.

Issue attempting to build BSML

For context, I am running this on Visual Studio 2019 without any prior experience building C# libraries, the only changes or setup I have done was the suggested file addition of BeatSabermarkupLanguage.csproj.user. Errors are as follows:

1>------ Build started: Project: BeatSaberMarkupLanguage, Configuration: Debug Any CPU ------
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(130,25,130,39): warning CS0109: The member 'BSMLScrollableContainer.RefreshButtons()' does not hide an accessible member. The new keyword is not required.
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(138,25,138,47): warning CS0109: The member 'BSMLScrollableContainer.ComputeScrollFocusPosY()' does not hide an accessible member. The new keyword is not required.
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(147,25,147,54): warning CS0109: The member 'BSMLScrollableContainer.UpdateVerticalScrollIndicator(float)' does not hide an accessible member. The new keyword is not required.
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(192,25,192,44): warning CS0109: The member 'BSMLScrollableContainer.PageUpButtonPressed()' does not hide an accessible member. The new keyword is not required.
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(219,25,219,46): warning CS0109: The member 'BSMLScrollableContainer.PageDownButtonPressed()' does not hide an accessible member. The new keyword is not required.
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(246,25,246,43): warning CS0109: The member 'BSMLScrollableContainer.SetDestinationPosY(float)' does not hide an accessible member. The new keyword is not required.
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\FloatingScreen\FloatingScreenMoverPointer.cs(61,25,61,31): warning CS0618: 'FloatingScreenMoverPointer.OnGrab' is obsolete: 'Use FloatingScreen.HandleGrabbed event'
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\FloatingScreen\FloatingScreenMoverPointer.cs(69,13,69,22): warning CS0618: 'FloatingScreenMoverPointer.OnRelease' is obsolete: 'Use FloatingScreen.HandleReleased event'
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\FloatingScreen\FloatingScreenMoverPointer.cs(74,13,74,19): warning CS0618: 'FloatingScreenMoverPointer.OnGrab' is obsolete: 'Use FloatingScreen.HandleGrabbed event'
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\FloatingScreen\FloatingScreenMoverPointer.cs(75,13,75,22): warning CS0618: 'FloatingScreenMoverPointer.OnRelease' is obsolete: 'Use FloatingScreen.HandleReleased event'
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollIndicator.cs(15,20,15,27): error CS0103: The name '_handle' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollIndicator.cs(16,20,16,27): error CS0103: The name '_handle' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(13,20,13,33): error CS0103: The name '_pageUpButton' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(14,20,14,33): error CS0103: The name '_pageUpButton' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(18,20,18,35): error CS0103: The name '_pageDownButton' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(19,20,19,35): error CS0103: The name '_pageDownButton' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(24,20,24,29): error CS0103: The name '_viewport' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(25,20,25,29): error CS0103: The name '_viewport' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(30,20,30,41): error CS0103: The name '_contentRectTransform' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(31,20,31,41): error CS0103: The name '_contentRectTransform' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(36,20,36,44): error CS0103: The name '_verticalScrollIndicator' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(37,20,37,44): error CS0103: The name '_verticalScrollIndicator' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(47,26,47,42): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(64,43,64,52): error CS0103: The name '_viewport' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(75,13,75,26): error CS0103: The name '_buttonBinder' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(84,17,84,30): error CS0103: The name '_buttonBinder' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(89,13,89,26): error CS0103: The name '_buttonBinder' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(91,17,91,30): error CS0103: The name '_buttonBinder' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(93,17,93,30): error CS0103: The name '_buttonBinder' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(98,30,98,51): error CS0103: The name '_contentRectTransform' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(99,29,99,50): error CS0103: The name '_contentRectTransform' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\FontManager.cs(71,49,71,56): error CS0012: The type 'TaskFactory' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Threading, Version=1.0.2856.102, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(114,34,114,55): error CS0103: The name '_contentRectTransform' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(114,71,114,92): error CS0103: The name '_contentRectTransform' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(119,40,119,61): error CS0103: The name '_contentRectTransform' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(119,82,119,98): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(119,117,119,124): error CS0103: The name '_smooth' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(120,37,120,53): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(122,27,122,43): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(125,17,125,38): error CS0103: The name '_contentRectTransform' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(126,47,126,68): error CS0103: The name '_contentRectTransform' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(133,45,133,61): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(135,47,135,63): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(135,83,135,92): error CS0103: The name '_viewport' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Plugin.cs(98,49,98,56): error CS0012: The type 'TaskScheduler' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Threading, Version=1.0.2856.102, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\ModalKeyboard.cs(125,18,125,23): warning CS0219: The variable 'found' is assigned but its value is never used
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\ModalKeyboard.cs(139,18,139,23): warning CS0219: The variable 'found' is assigned but its value is never used
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\ScrollViewContent.cs(34,24,34,40): error CS0122: 'ScrollView.SetContentHeight(float)' is inaccessible due to its protection level
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\ScrollViewContent.cs(35,24,35,38): error CS1061: 'ScrollView' does not contain a definition for 'RefreshButtons' and no accessible extension method 'RefreshButtons' accepting a first argument of type 'ScrollView' could be found (are you missing a using directive or an assembly reference?)
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\TypeHandlers\CustomCellListTableDataHandler.cs(83,33,83,41): error CS1061: 'TableView' does not contain a definition for 'LazyInit' and no accessible extension method 'LazyInit' accepting a first argument of type 'TableView' could be found (are you missing a using directive or an assembly reference?)
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\TypeHandlers\CustomListTableDataHandler.cs(85,33,85,41): error CS1061: 'TableView' does not contain a definition for 'LazyInit' and no accessible extension method 'LazyInit' accepting a first argument of type 'TableView' could be found (are you missing a using directive or an assembly reference?)
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(141,13,141,30): error CS0103: The name '_scrollFocusPosYs' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(142,46,142,79): error CS0103: The name 'WorldPositionToScrollViewPosition' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(149,17,149,41): error CS0103: The name '_verticalScrollIndicator' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(151,17,151,41): error CS0103: The name '_verticalScrollIndicator' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(151,77,151,86): error CS0103: The name '_viewport' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(157,45,157,54): error CS0103: The name '_viewport' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(163,25,163,58): error CS0103: The name 'WorldPositionToScrollViewPosition' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(170,25,170,58): error CS0103: The name 'WorldPositionToScrollViewPosition' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(171,26,171,42): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(172,26,172,42): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(186,17,186,38): error CS0103: The name '_contentRectTransform' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(186,74,186,90): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(194,25,194,41): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(195,21,195,32): error CS0103: The name '_scrollType' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(198,28,198,51): error CS0103: The name '_pageStepNormalizedSize' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(201,28,201,42): error CS0103: The name '_fixedCellSize' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(201,89,201,103): error CS0103: The name '_fixedCellSize' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(202,57,202,71): error CS0103: The name '_fixedCellSize' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(202,75,202,89): error CS0103: The name '_fixedCellSize' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(206,43,206,59): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(206,62,206,98): error CS0103: The name '_scrollItemRelativeThresholdPosition' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(207,45,207,62): error CS0103: The name '_scrollFocusPosYs' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(209,60,209,76): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(210,32,210,55): error CS0103: The name '_pageStepNormalizedSize' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(221,25,221,41): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(222,21,222,32): error CS0103: The name '_scrollType' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(225,28,225,51): error CS0103: The name '_pageStepNormalizedSize' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(228,28,228,42): error CS0103: The name '_fixedCellSize' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(228,89,228,103): error CS0103: The name '_fixedCellSize' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(229,56,229,70): error CS0103: The name '_fixedCellSize' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(229,74,229,88): error CS0103: The name '_fixedCellSize' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(233,43,233,59): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(233,68,233,104): error CS0103: The name '_scrollItemRelativeThresholdPosition' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(234,45,234,62): error CS0103: The name '_scrollFocusPosYs' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(236,60,236,76): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(237,38,237,61): error CS0103: The name '_pageStepNormalizedSize' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(248,49,248,58): error CS0103: The name '_viewport' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Components\BSMLScrollableContainer.cs(250,13,250,29): error CS0103: The name '_destinationPosY' does not exist in the current context
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\MenuButtons\MenuButtonsViewController.cs(22,28,22,38): warning CS0649: Field 'MenuButtonsViewController.rootObject' is never assigned to, and will always have its default value null
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Settings\UI\SettingsMenuListViewController.cs(14,36,14,40): warning CS0649: Field 'SettingsMenuListViewController.list' is never assigned to, and will always have its default value null
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\Settings\UI\ModSettingsFlowCoordinator.cs(25,27,25,40): warning CS0649: Field 'ModSettingsFlowCoordinator.bottomButtons' is never assigned to, and will always have its default value null
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\GameplaySetupTest.cs(12,22,12,31): warning CS0169: The field 'GameplaySetupTest.checkbox3' is never used
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\GameplaySetupTest.cs(8,22,8,31): warning CS0169: The field 'GameplaySetupTest.checkbox1' is never used
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\GameplaySetupTest.cs(10,22,10,31): warning CS0169: The field 'GameplaySetupTest.checkbox2' is never used
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\GameplaySetup\GameplaySetupMenu.cs(21,28,21,37): warning CS0649: Field 'GameplaySetupMenu.tabObject' is never assigned to, and will always have its default value null
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\MenuButtons\MenuButtons.cs(27,34,27,46): warning CS0169: The field 'MenuButtons.parserParams' is never used
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\SettingsTest.cs(13,34,13,46): warning CS0169: The field 'SettingsTest.parserParams' is never used
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\GameplaySetup\GameplaySetupMenu.cs(24,21,24,24): warning CS0649: Field 'GameplaySetupMenu.tab' is never assigned to, and will always have its default value null
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\ViewControllers\TestViewController.cs(42,24,42,34): warning CS0414: The field 'TestViewController.loremIpsum' is assigned but its value is never used
1>C:\Users\MY_NAME\source\repos\BeatSaberMarkupLanguage-master\BeatSaberMarkupLanguage\GameplaySetupTest.cs(14,22,14,31): warning CS0414: The field 'GameplaySetupTest.checkbox4' is assigned but its value is never used
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Add scrolling to "Mods" tab of main menu?

So i usually have at least 70 mods installed at any given time, and sometimes the "Mods" tab to the left of the main menu gets filled with buttons, and overflows, making me unable to press some of the buttons, so i was wondering if a thing could be added to said panel, to give you a scrollbar when there are too many buttons to display, I'd really appreciate this

Ajust spacing of buttons on left menu

The mod buttons on the left menu look too close together and should have some space between them.

Here is a picture of before and after changing the space between the buttons:

Untitled

I've made this change on my fork in this commit 6bcaefe

Can I make a PR to merge this change?

[1.12.2] FloatingScreen => HandleReleased

Moving a basic floating screen by it's handle gameobject (white cube) cause exception and lock UI interaction except for the handle cube itself.

Test => VR & FPFC

Logs :

[CRITICAL @ 07:17:28 | UnityEngine] NullReferenceException: Object reference not set to an instance of an object
[CRITICAL @ 07:17:28 | UnityEngine] VRUIControls.VRGraphicRaycaster.Raycast (UnityEngine.EventSystems.PointerEventData eventData, System.Collections.Generic.List1[T] resultAppendList) (at <ac6b6f0e796d4502a755fee234f0683f>:0) [CRITICAL @ 07:17:28 | UnityEngine] UnityEngine.EventSystems.EventSystem.RaycastAll (UnityEngine.EventSystems.PointerEventData eventData, System.Collections.Generic.List1[T] raycastResults) (at :0)
[CRITICAL @ 07:17:28 | UnityEngine] VRUIControls.VRInputModule.GetMousePointerEventData (System.Int32 id) (at :0)
[CRITICAL @ 07:17:28 | UnityEngine] VRUIControls.VRInputModule.Process () (at :0)
[CRITICAL @ 07:17:28 | UnityEngine] UnityEngine.EventSystems.EventSystem.Update () (at :0)

Remove GameplaySetup tabs without requiring a fresh menu scene reload

Referring to this warning:

/// <summary>Warning, for now it will not be removed until fresh menu scene reload</summary>

With the addition of multiplayer there are now mods that only work in singeplayer or only in multiplayer. It would be great if those mods could remove their settings menu from the GameplaySetup in the modes they don't support.

Binding controls to Sub-Properties

I've an Enum which i use to generate a list of Toggle settings using the for-each macro. This leaves me with a list of checkboxes, however there is no way to for me to use these without either manually defining a handler or property for all of them as the toggle event does not feature any reference to what was toggled, nor is it possible to bind the checkboxes to something like a Dictionary of type <enum,bool>.

Ideally, both of these should be possible (With the latter one probably being most useful). If you have a settings class which contains various sub-classes of settings (Like I do with Camera2) it would be very nice if it was possible to just have a reference to each setting instance in my ViewController class instead of passing through each seperate property and then just binding to something like "property->subProperty" in the bsml view.

Persistent modals

There is actually a bug with modals under certain circumstances. I found this bug while working on my own mod.
I thought it was because of it and figured out it was because of BeatSaberMarkupLanguage.

It also happens on a clean install, with the only mod installed being BeatSaberMarkupLanguage.

image

To reproduce this, just select the color picker, then go back to the main menu without clicking on "OK".

I guess it also happens with all dropdowns.

image

There is also no exception in the console.

Emoji in truncated text fields crash the game

Text fields that contain emoji crash the game if they contain text that is too long to display in its entirety.
Can be reproduced by a <text> tag with overflow-mode='Ellipsis' and limited size that contains text with at least one emoji and that is long enough to trigger the overflow. The overflow mode doesn't seem to be a requirement for it to happen though, I've also seen it happen in a list view without that attribute.

I'm not sure if this is a BSML issue or a Unity issue, feel free to close if it's the latter.
I reported this issue to monkeymanboy previously, but thought I'd add it here too so it's documented in some way.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.