Closed zbee closed 3 months ago
Seemingly a similar issue in this file, with Raycast2()
https://github.com/una-xiv/umbra/blob/63fcc1e8e9bd6e4342a8e13a4a5eed337d93d5ad/Umbra/src/Markers/System/Internals/WorldMarkerRaycaster.cs#L45
This sounds like a bad build. Try cleaning the solution (removing the out directory) and rebuild the project from scratch.
Also make sure Dalamud & FFXIVClientStructs are up-to-date, although this should happen automatically, it may be outdated if you've done some custom set-up in that regard.
Confirmed with a fresh download of a4a3318a for Dalamud and I'm seeing the same, it fails to build for me.
2>GameCamera.cs(39,26): Error CS7036 : There is no argument given that corresponds to the required parameter 'worldPoint' of 'Camera.WorldToScreenPoint(Vector2*, Vector3*)'
2>GameCamera.cs(40,29): Error CS1061 : 'Vector2*' does not contain a definition for 'X' and no accessible extension method 'X' accepting a first argument of type 'Vector2*' could be found (are you missing a using directive or an assembly reference?)
2>GameCamera.cs(40,36): Error CS1061 : 'Vector2*' does not contain a definition for 'Y' and no accessible extension method 'Y' accepting a first argument of type 'Vector2*' could be found (are you missing a using directive or an assembly reference?)
2>GameCamera.cs(45,33): Error CS1061 : 'Vector2*' does not contain a definition for 'X' and no accessible extension method 'X' accepting a first argument of type 'Vector2*' could be found (are you missing a using directive or an assembly reference?)
2>GameCamera.cs(46,20): Error CS1061 : 'Vector2*' does not contain a definition for 'X' and no accessible extension method 'X' accepting a first argument of type 'Vector2*' could be found (are you missing a using directive or an assembly reference?)
2>GameCamera.cs(47,20): Error CS1061 : 'Vector2*' does not contain a definition for 'Y' and no accessible extension method 'Y' accepting a first argument of type 'Vector2*' could be found (are you missing a using directive or an assembly reference?)
2>GameCamera.cs(48,20): Error CS1061 : 'Vector2*' does not contain a definition for 'Y' and no accessible extension method 'Y' accepting a first argument of type 'Vector2*' could be found (are you missing a using directive or an assembly reference?)
2>------- Finished building project: Umbra.Game. Succeeded: False. Errors: 7. Warnings: 0
3>WorldMarkerRaycaster.cs(45,31): Error CS0117 : 'BGCollisionModule' does not contain a definition for 'Raycast2'
3>WorldMarkerRaycaster.cs(53,31): Error CS0117 : 'BGCollisionModule' does not contain a definition for 'Raycast2'
3>WorldMarkerRaycaster.cs(59,35): Error CS0117 : 'BGCollisionModule' does not contain a definition for 'Raycast2'
3>------- Finished building project: Umbra. Succeeded: False. Errors: 3. Warnings: 0
This PR seems like it may be relevant, it was since the latest commit to Umbra. https://github.com/goatcorp/Dalamud/pull/1885
Ah, that explains it. Seems I have to update Umbra again 😅 I'll get on it in a couple of hours.
WorldToScreenPoint()
changed https://github.com/una-xiv/umbra/blob/63fcc1e8e9bd6e4342a8e13a4a5eed337d93d5ad/Umbra.Game/src/Camera/GameCamera.cs#L39 Not sure how it would work to give it the second parameter it wants, given it currently gets the Screen Position from that function ha.