Wojtek Figat
075f40b93a
Minor fixes
2023-10-01 10:56:30 +02:00
Wojtek Figat
b960600102
Optimize scenes loading with Job System
2023-10-01 10:55:01 +02:00
18310c9264
Fix loading shared managed assemblies multiple times
2023-09-29 22:12:50 +03:00
Wojtek Figat
fd3f10864b
Fixes for iOS #1312
2023-09-29 00:00:51 +02:00
Wojtek Figat
f77198c7ca
Fixes for iOS #1312
2023-09-29 00:00:21 +02:00
1d42988f39
Fix VisualScript method calls not working with value types
2023-09-29 00:50:19 +03:00
Wojtek Figat
58b9d76d24
Merge remote-tracking branch 'origin/master' into 1.7
...
# Conflicts:
# Source/Editor/Viewport/PrefabWindowViewport.cs
# Source/Engine/Physics/PhysX/SimulationEventCallbackPhysX.cpp
2023-09-28 20:42:54 +02:00
Wojtek Figat
82b2f46b48
Post-merge tweaks for #1312
2023-09-28 19:21:06 +02:00
Wojtek Figat
279528a30d
Merge branch 'marshalling_scriptingobject_changes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-marshalling_scriptingobject_changes
...
# Conflicts:
# Source/Engine/Engine/NativeInterop.Unmanaged.cs
# Source/Engine/Scripting/Runtime/DotNet.cpp
2023-09-28 18:41:20 +02:00
Wojtek Figat
15377acc25
Merge remote-tracking branch 'origin/master' into 1.7
2023-09-28 12:01:34 +02:00
Luke Schneider
ad28a3fdbf
Better light theme (Style) support, and a Default light theme (as a secondary option)
...
1) Added ForegroundViewport as a new color. It is used in the main game viewport (ViewportWidgetButton), and the viewport for rendering of particles and materials. It is needed because the default foreground in a Light theme is black, but black does not work well in a viewport. A new color seemed appropriate.
2) Fixed the profiler window to use the Foreground color in multiple text elements, instead of Color.White (or no default TitleColor). This includes the Row class, Asset class, SingleChart class, Timeline Class, and more.
3) Added a second theme/Style (DefaultLight) to include with the engine. It uses RGB float values because those were easier to transfer from the saved values that I had created (and they're easier for me to edit if necessary). I tried to emulate how the Default theme is created/loaded/etc as closely as possible.
2023-09-27 21:54:34 -05:00
bcccb71373
Show full exception message in error message box for managed exceptions
2023-09-28 00:25:26 +03:00
Wojtek Figat
2f9c601678
Merge remote-tracking branch 'origin/master' into 1.7
2023-09-27 17:32:47 +02:00
e8088f42ac
Fix string use-after-free while loading managed assemblies
2023-09-26 17:37:53 +03:00
stefnotch
1bc7ad5e9d
Update SerializeAttribute.cs
2023-09-26 10:30:57 +02:00
Wojtek Figat
c374127de1
Fix error when loading project on non-ASCII path
...
#1439
2023-09-25 16:34:01 +02:00
Wojtek Figat
96b6313acb
Fix crash when loading C# assembly from non-ASNSI path
...
#1439
2023-09-25 16:30:24 +02:00
davevanegdom
d94dfe9fa9
Merge remote-tracking branch 'upstream/master' into Statusbar-Imrpovements
2023-09-22 13:19:57 +02:00
davevanegdom
5fc9176ce7
Removed customization for "Normal" and "TextColor"
2023-09-21 23:18:46 +02:00
davevanegdom
80a3bb2ae2
Replaced string color lookups
2023-09-21 17:10:49 +02:00
davevanegdom
21c742bd8a
Customizable statusbar
2023-09-21 14:54:57 +02:00
Wojtek Figat
9f97787099
Merge remote-tracking branch 'origin/master' into 1.7
2023-09-20 16:02:48 +02:00
Wojtek Figat
8bd6649510
Refactor managed array unboxing to handle case of C# array passes as object
...
#1415
2023-09-20 14:17:11 +02:00
Wojtek Figat
a71de7357c
Merge remote-tracking branch 'origin/master' into 1.7
2023-09-19 21:42:53 +02:00
Wojtek Figat
0083ebd887
Fix missing C# static fields in native scripting api
2023-09-19 09:32:37 +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
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
79bf226fe1
Codestyle fix
2023-09-18 12:11:28 +02: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
bdd182f3da
Fixing x64 editor/runtime on arm64 macs
...
* This allows for a much more broader check for the dotnet sdk runtime to support running x64 binaries on arm64
2023-09-16 18:23:27 -07:00
f114301e97
Improve hostfxr error messages
2023-09-16 15:03:09 +03:00
2d2bfd9cd1
Include EditorModules in Assembly lookup paths
2023-09-16 14:15:09 +03:00
Wojtek Figat
38f7606923
Merge branch 'delegate_mutex' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-delegate_mutex
2023-09-13 10:57:34 +02:00
Wojtek Figat
fb488cbaf7
Merge remote-tracking branch 'origin/master' into 1.7
2023-09-11 22:43:46 +02:00
Wojtek Figat
48d4a51c1b
Fix crash when boxing native array to managed value
2023-09-11 15:06:26 +02:00
Wojtek Figat
1134cfa6a6
Fix using ManagedDictionary when item value type is array
...
#1305
2023-09-11 15:05:46 +02:00
afec6afe4c
Fix managed UTF-8 string allocation not using correct encoding
2023-09-03 14:05:21 +03:00
4ffec5e09a
Use HashSet as backing storage for bound Delegate functions
2023-09-02 23:14:38 +03:00
42ab218a8e
Merge branch 'master' into marshalling_scriptingobject_changes
...
# Conflicts:
# Source/Engine/Engine/NativeInterop.Invoker.cs
# Source/Engine/Engine/NativeInterop.Unmanaged.cs
2023-08-20 20:24:41 +03:00
Wojtek Figat
3498806588
Add support for accessing scripting properties via ManagedBinaryModule fields API
2023-08-19 17:45:42 +02:00
Wojtek Figat
f088f2b61d
Merge remote-tracking branch 'origin/master' into 1.7
2023-08-18 10:33:51 +02:00
Wojtek Figat
de270d7478
Merge branch 'manageddict_cache' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-manageddict_cache
2023-08-18 00:25:07 +02:00
Wojtek Figat
0e2d1b6ad2
Merge remote-tracking branch 'origin/master' into 1.7
2023-08-14 18:14:59 +02:00
Wojtek Figat
3197479cc0
Merge branch 'object_destroynow_csharp' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-object_destroynow_csharp
2023-08-14 15:51:45 +02:00
53b1d0dd85
Optimize ScriptingObject managed initialization
2023-08-13 23:56:27 +03:00
cd56101aa3
Expose Object::DeleteObjectNow as Object.DestroyNow in managed scripting
2023-08-13 23:46:38 +03:00
0008123e76
Cache ManagedDictionary types and helper method thunks
2023-08-13 23:15:06 +03:00
27e1401fc7
Slightly improve MClass::GetMethod method iteration
...
Check the number of parameters first before expensive string comparison
2023-08-13 21:54:44 +03:00
Wojtek Figat
e27f1a8a41
Merge remote-tracking branch 'origin/master' into 1.7
2023-08-10 18:34:27 +02:00
9d8105e3f3
Separate managed assembly unloading and scripting ALC reinitialization
...
Fixes an issue with multiple managed assemblies unloading and releasing
all cached data before native resources were fully released in other
assemblies.
2023-08-08 17:39:31 +03:00