Commit Graph

6513 Commits

Author SHA1 Message Date
Wojtek Figat
e3cf9c05e4 Fix logging macOS process to remove redundant newlines 2023-09-20 09:06:54 +02:00
Wojtek Figat
038c67c819 Merge branch 'wackoisgod-macos-fixes' 2023-09-20 08:48:14 +02:00
Andrew Spiering
f40657ea04 macOS support fixes
* Adding macOS FileSystemWatcher, this should allow files to be monitored and update like the other OSs
* Reworked how macOS launches processes to use NSTask which just deals with escaped and unescaped paths better
* Made a change to the ScriptsBuilder::RunBuildTool, this was adding the escaped values to the path, in reality it should be up to the underlying OS to make sure things are properly escaped, so removed those as they just end up causing issues. Also instead of appending the args to the fileName we just properly use the Arguments variable on the CreateProcessSettings
* No longer use open in order to show files in the finder, we use the proper method selectFile
* made a slight cleanup change to the MacPlatform Tick function
* Added ToNSString functions just to make that easier
* Added a ParseArguments function that will take a string and turn it into an array for NSTask
2023-09-19 20:58:12 -07:00
Wojtek Figat
92733d1a69 Merge branch 'GoaLitiuM-genproject_startup_fix' 2023-09-19 23:48:36 +02:00
Wojtek Figat
ea37a0924b Merge branch 'genproject_startup_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-genproject_startup_fix 2023-09-19 23:48:30 +02:00
Wojtek Figat
7e81fdbd75 Fix crash when D3D11 backend fails to create shader due to driver failure 2023-09-19 23:45:30 +02:00
4a1787dfbe Generate project files at startup when project Cache was cleared 2023-09-20 00:15:25 +03:00
Wojtek Figat
a56ce92867 Fix crash when importing model with materials and Split Objects enabled 2023-09-19 23:07:10 +02:00
Wojtek Figat
417d911bab Merge branch 'dector-fix/1384/use-xdg-open-on-linux' 2023-09-19 22:01:35 +02:00
Wojtek Figat
5dd5bc3583 Merge branch 'fix/1384/use-xdg-open-on-linux' of https://github.com/dector/FlaxEngine into dector-fix/1384/use-xdg-open-on-linux 2023-09-19 22:01:28 +02:00
Wojtek Figat
6514ab3680 Merge branch 'Crawcik-unix-dotnet-location' 2023-09-19 22:00:42 +02:00
Wojtek Figat
d9333018c2 Merge branch 'unix-dotnet-location' of https://github.com/Crawcik/FlaxEngine into Crawcik-unix-dotnet-location
# Conflicts:
#	Source/Tools/Flax.Build/Build/DotNet/DotNetSdk.cs
2023-09-19 22:00:36 +02:00
Denys
4c5168a976 Use xdg-open to open file manager in Linux
`nautilus` is GNOME file manager. Other distros might use another FM.

As a common ground we can use `xdg-open` which is a part of `freedesktop.org` and should be available almost everywhere.
2023-09-19 16:50:17 +02:00
Wojtek Figat
49a6b5734a Fix crash when setting material instance base material before it's loaded 2023-09-19 14:14:57 +02:00
Wojtek Figat
255e47fa1e Fix crash due to invalid message in Assimp 2023-09-19 14:00:37 +02:00
Wojtek Figat
2655dd12d6 Reapply e218cc417f but a little better 2023-09-19 13:40:01 +02:00
Wojtek Figat
bb5ff740bf Update recastnavigation lib to 1.6 2023-09-19 13:34:32 +02:00
Wojtek Figat
0083ebd887 Fix missing C# static fields in native scripting api 2023-09-19 09:32:37 +02:00
Wojtek Figat
10dc06be9b Fix crash if OpenAL internal device name is all whitespaces 2023-09-18 19:23:10 +02:00
Wojtek Figat
c4b22b2120 Merge branch 'Tryibion-slider-thumb-highlighting' 2023-09-18 17:34:07 +02:00
Wojtek Figat
3c28fbe44c Merge branch 'slider-thumb-highlighting' of https://github.com/Tryibion/FlaxEngine into Tryibion-slider-thumb-highlighting 2023-09-18 17:29:41 +02:00
Wojtek Figat
fa73d9d451 Merge branch 'Tryibion-clamp-node-size' 2023-09-18 17:29:10 +02:00
Wojtek Figat
cdcba9bddb Merge branch 'clamp-node-size' of https://github.com/Tryibion/FlaxEngine into Tryibion-clamp-node-size 2023-09-18 17:29:02 +02:00
Wojtek Figat
b64db5ec88 Merge branch 'GoaLitiuM-dotnet8_compat_fix' 2023-09-18 17:27:09 +02:00
Wojtek Figat
b8a626c95d Merge branch 'dotnet8_compat_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet8_compat_fix 2023-09-18 17:27:02 +02:00
Wojtek Figat
6ff088d0cb Merge branch 'GoaLitiuM-hostfxr_msg' 2023-09-18 17:25:06 +02:00
Wojtek Figat
3381751c54 Merge branch 'hostfxr_msg' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-hostfxr_msg 2023-09-18 17:24:57 +02:00
Wojtek Figat
04713a829f Merge branch 'MineBill-fix_folder_rename' 2023-09-18 16:57:03 +02:00
Wojtek Figat
40c98ac9e5 Merge branch 'fix_folder_rename' of https://github.com/MineBill/FlaxEngine into MineBill-fix_folder_rename 2023-09-18 16:56:53 +02:00
Wojtek Figat
bf5b940892 Merge branch 'GoaLitiuM-editor_module_lookup_fix' 2023-09-18 15:16:14 +02:00
Wojtek Figat
502af0b67a Merge branch 'editor_module_lookup_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-editor_module_lookup_fix 2023-09-18 15:16:07 +02:00
Wojtek Figat
960b825b4c Code style fix 2023-09-18 12:21:12 +02:00
elestrago
4fe02a24e9 Fix find Rider versions 2022 and later 2023-09-18 12:19:58 +02:00
Walrusking
4b0e70aa06 Fixes Rider 2022 not detected when installed with toolbox 2023-09-18 12:19:50 +02:00
Walrusking
03b8b9f73f Fix rider search detecting any jetbrains product as rider 2023-09-18 12:19:38 +02:00
Wojtek Figat
8b022af360 Merge branch 'wackoisgod-macos-rider-support' 2023-09-18 12:18:35 +02:00
Wojtek Figat
1de8581e6d Merge branch 'macos-rider-support' of https://github.com/wackoisgod/FlaxEngine into wackoisgod-macos-rider-support 2023-09-18 12:18:27 +02:00
Wojtek Figat
79bf226fe1 Codestyle fix 2023-09-18 12:11:28 +02:00
Wojtek Figat
0ece806230 Merge branch 'wackoisgod-macos-flex-build-fixes' 2023-09-18 11:49:49 +02:00
Wojtek Figat
c63e2802a1 Merge branch 'macos-flex-build-fixes' of https://github.com/wackoisgod/FlaxEngine into wackoisgod-macos-flex-build-fixes 2023-09-18 11:49:43 +02:00
Wojtek Figat
a33647ecf1 Merge branch 'wackoisgod-script-generics-crash' 2023-09-18 11:47:40 +02:00
Wojtek Figat
342877ec42 Merge branch 'script-generics-crash' of https://github.com/wackoisgod/FlaxEngine into wackoisgod-script-generics-crash 2023-09-18 11:47:33 +02:00
Wojtek Figat
e38a8bda7a Codestyle fix for #1425 2023-09-18 11:26:56 +02:00
Wojtek Figat
1f386f9ce0 Merge branch 'wackoisgod-macos-ios-build-issue' 2023-09-18 11:25:55 +02:00
Andrew Spiering
97f595922e Fixing broken build
Have to actually set it to true
2023-09-17 23:11:23 -07:00
Andrew Spiering
9f4429f87c When building the engine if you don't have iOS SDK Installed then don't build it
Currently when you try and build macOS editor it assumes you also want to build iOS because of the way this check works which assumes if you have Xcode Installed you are ready to go. This really should not be the case, so instead lets check to see if you have the iophonesdk installed for your current Xcode if not then skip it.
2023-09-17 22:26:50 -07:00
Andrew Spiering
3ac00b1e4e Fixing a crash when generic classes spanned across different assemblies
This code attempts to resolve an issue where if you had a class in Assembly A and it was generic and you had a class that inherited from it in Assembly B it would not properly resolve these classes, also added an error check for if I was not able to find the TypeIndex then log it and return thus also preventing a crash when it goes to resolve the NativeType
2023-09-17 20:37:37 -07:00
Andrew Spiering
824ee9ec7f Fixing a typo :/ 2023-09-17 18:48:54 -07:00
Andrew Spiering
69e54d7f88 Fixing an issue if running an x64 machine already 2023-09-17 15:53:48 -07:00
Andrew Spiering
183ab7738f Fixing Flex Build issues on M1/2 macs
* This resolves some issues where if you are building the actual C# dlls you also need them to be x64 based if you are targeting an x64 based target. This is a little complicated here because we set all this up ahead of time assuming that all the targets are compatible but in this case they are not so, just following what other places in the code are doing around this specifically dotnet AOT.
2023-09-17 15:42:26 -07:00