rds1983 / Myra

UI Library for MonoGame, FNA and Stride
MIT License
726 stars 94 forks source link

Myra.Stride NuGet package not compatible with Stride 4.1 #371

Closed WaitWhatWolf closed 1 year ago

WaitWhatWolf commented 2 years ago

Calling the .Render() method from the Desktop class using Stride 4.1.0.1734 and the Myra.Stride (1.4.4) NuGet package generates a MethodNotFound exception.

Stack Trace:

  Message=Method not found: 'Stride.Core.Mathematics.Matrix Stride.Core.Mathematics.Matrix.op_Multiply(Stride.Core.Mathematics.Matrix, Stride.Core.Mathematics.Matrix)'.
  Source=Myra
  スタック トレース:
   場所 Myra.Graphics2D.Transform.AddTransform(Transform& newTransform)
   場所 Myra.Graphics2D.UI.Widget.get_Transform()
   場所 Myra.Graphics2D.UI.Widget.ToLocal(Vector2 source)
   場所 Myra.Graphics2D.UI.Widget.ToLocal(Point pos)
   場所 Myra.Graphics2D.UI.Widget.ContainsGlobalPoint(Point pos)
   場所 Myra.Graphics2D.UI.Widget.get_ContainsMouse()
   場所 Myra.Utility.InputHelpers.ProcessMouseMovement(List`1 widgets)
   場所 Myra.Graphics2D.UI.Desktop.UpdateLayout()
   場所 Myra.Graphics2D.UI.Desktop.Render()
   場所 DerRising3D.MyraRenderer.DrawCore(RenderContext context, RenderDrawContext drawContext) (D:\ドキュメント\Stride Projects\DerRising3D\DerRising3D\MyraRenderer.cs):行 20
   場所 Stride.Rendering.Compositing.SceneRendererBase.Draw(RenderDrawContext context)
   場所 Stride.Rendering.Compositing.SceneRendererCollection.DrawCore(RenderContext context, RenderDrawContext drawContext)
   場所 Stride.Rendering.Compositing.SceneRendererBase.Draw(RenderDrawContext context)
   場所 Stride.Rendering.Compositing.SceneCameraRenderer.DrawInner(RenderDrawContext renderContext)
   場所 Stride.Rendering.Compositing.SceneCameraRenderer.DrawCore(RenderContext context, RenderDrawContext drawContext)
   場所 Stride.Rendering.Compositing.SceneRendererBase.Draw(RenderDrawContext context)
   場所 Stride.Rendering.Compositing.GraphicsCompositor.DrawCore(RenderDrawContext context)
   場所 Stride.Rendering.RendererBase.Draw(RenderDrawContext context)
   場所 Stride.Engine.SceneSystem.Draw(GameTime gameTime)
   場所 Stride.Games.GameSystemCollection.Draw(GameTime gameTime)
   場所 Stride.Games.GameBase.Draw(GameTime gameTime)
   場所 Stride.Games.GameBase.RawTick(TimeSpan elapsedTimePerUpdate, Int32 updateCount, Single drawInterpolationFactor, Boolean drawFrame)
   場所 Stride.Games.GameBase.RawTickProducer()
rds1983 commented 1 year ago

Fixed in 1.4.5