Commit Graph

239 Commits

Author SHA1 Message Date
Wojtek Figat
9eaef3447c Improve Flax.Build build rules caching to include .NET runtime version and engine installation check 2023-04-18 19:06:49 +02:00
Wojtek Figat
e3ceaa3f9a Update Flax deployment scripts for dotnet7 2023-04-18 18:17:47 +02:00
Wojtek Figat
67b373c6df Merge remote-tracking branch 'origin/master' into 1.6 2023-04-17 13:18:08 +02:00
d5b8e44572 Cache networking code generation task results 2023-04-17 11:12:16 +02:00
Wojtek Figat
8a80a26523 Add networking replication codegen for C# array properties with object references or custom structures 2023-04-16 15:30:51 +02:00
Wojtek Figat
2e22abaff9 Refactor C# network replication codegen to be more extendable based on value context source 2023-04-16 14:56:54 +02:00
Wojtek Figat
d38badb54b Add array property replication code-gen for C# networking 2023-04-16 13:00:28 +02:00
Wojtek Figat
2d51332bf7 Rename networking codegen initializer to NetworkingPlugin for C# netcode 2023-04-15 12:05:33 +02:00
Wojtek Figat
e4804db160 Add NetworkRpcParams for sending RPC to specific set of clients or to read sender id 2023-04-15 12:04:40 +02:00
Wojtek Figat
c5491eea97 Add Mono AOT for iOS to run C# 2023-04-13 08:34:49 +02:00
Wojtek Figat
cf397e1cc7 Fix var name typo and make improve class lib and platforms tools searching for Mono AOT 2023-04-13 08:27:49 +02:00
Wojtek Figat
d9855f2ed6 DIsable leftover debug aot 2023-04-12 23:16:39 +02:00
Wojtek Figat
7c39e5726d Improve csproj project files generation 2023-04-12 14:00:24 +02:00
Wojtek Figat
99566a0f0f Fix typo 2023-04-12 11:21:55 +02:00
Wojtek Figat
68c6a01805 Update Switch platform support 2023-04-11 15:53:53 +02:00
Wojtek Figat
09bd7c696b Add .NET 7 for PlayStation 4 2023-04-05 19:17:22 +02:00
Wojtek Figat
0df9f5c797 Merge branch 'linux_rid_fix' of https://github.com/GoaLitiuM/FlaxEngine into 1.6 2023-04-04 15:09:37 +02:00
Wojtek Figat
0c4a608b65 Add .NET 7 support to Xbox 2023-04-04 14:46:08 +02:00
Wojtek Figat
eda07ac57b Fix build tool crash when includes cache file is corrupted 2023-04-03 23:42:32 +02:00
Wojtek Figat
820c18968a Add C# class library optimization for normal game builds (without AOT) 2023-04-03 23:41:18 +02:00
Wojtek Figat
03b16875c7 Add SkipUnusedDotnetLibsPackaging to build settings for optional whole C# stdlib packaging 2023-04-03 18:03:28 +02:00
Wojtek Figat
d28be9cf44 Optimize out debug symbols generation for C# stdlib in Mono AOT builds 2023-04-03 13:53:03 +02:00
Wojtek Figat
e995736012 Optimize out System.ComponentModel.TypeConverter assembly usage to reduce cooked game builds 2023-04-03 13:51:33 +02:00
Wojtek Figat
a3517b273c Add warning check to Mono AOT process to detect not supported features usage 2023-04-01 23:35:20 +02:00
Wojtek Figat
12f4dc74d2 Optimize default C# stdlib references to prevent using jit-ed features in a game assembly 2023-04-01 23:34:05 +02:00
Wojtek Figat
2196a3d791 Add USE_AOT define to C# when compiling with AOT-enabled 2023-04-01 21:23:49 +02:00
Wojtek Figat
809a1041b3 Merge remote-tracking branch 'origin/1.6' into 1.6 2023-03-31 19:38:05 +02:00
Wojtek Figat
a7c9c6142c Remove test logs 2023-03-31 18:23:24 +02:00
Wojtek Figat
7cbafcd86b Implement C# AOT process for .NET 7 for Windows platform 2023-03-31 14:41:42 +02:00
Wojtek Figat
20ce4642ea Add nethost usage for iOS build 2023-03-30 18:39:19 +02:00
Wojtek Figat
d925c8dab8 Fixes for Android 2023-03-28 17:21:27 +02:00
Wojtek Figat
510fc443e8 Refactor CoreCLR runtime into explicit dotnet api instead of mocking mono api
Required by platforms that will use mono under the hood for .Net 7
New `USE_CSHARP` define for C# ability
Engine doesn't use `mono_*` apis directly but via MCore/MClass/MMethod/ apis
2023-03-27 17:29:42 +02:00
Wojtek Figat
eed2cdfe04 Progress on dotnet7 runtime hosting with mono 2023-03-22 17:59:46 +01:00
Wojtek Figat
4c4a559125 Improve dotnet host runtime detection if pack has multiple different versions 2023-03-22 14:20:38 +01:00
Wojtek Figat
30e825db75 Add dotnet7 for Android (wip) 2023-03-21 22:49:09 +01:00
Wojtek Figat
154076a5d0 Migrate Linux build from mono to to dotnet7 2023-03-20 19:25:00 +01:00
Wojtek Figat
0ba261d338 Add iOS platform (refactor Mac into shared Apple platform impl) 2023-03-15 20:58:23 +01:00
Wojtek Figat
33ac9c8811 Merge branch 'flax_build_perf_improvements' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-flax_build_perf_improvements 2023-03-15 17:57:16 +01:00
e11587e72e Use System.Text.Json over Newtonsoft.Json in Flax.Build 2023-03-14 20:03:34 +02:00
16131b2858 Cache networking code generation task results 2023-03-14 20:03:33 +02:00
e878f5be15 Optimize saving TaskGraph cache 2023-03-14 20:03:33 +02:00
19d77f0d81 Use filesystem caching in TaskGraph 2023-03-14 20:03:33 +02:00
2f9e72e03e Use caching for filesystem queries in BindingsGenerator 2023-03-14 20:03:33 +02:00
47e2c82551 Find build files without recursion 2023-03-14 20:03:32 +02:00
9e4fd9fadb Exclude API code injection lines from includes cache 2023-03-14 20:02:35 +02:00
Wojtek Figat
74758f5380 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Tools/Flax.Build/Build/Builder.Projects.cs
#	Source/Tools/Flax.Build/Build/Plugins/NetworkingPlugin.cs
2023-03-14 11:52:41 +01:00
Wojtek Figat
dad41d9e0e Merge branch 'fix_network_rpc' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_network_rpc 2023-03-14 11:50:09 +01:00
Wojtek Figat
7950c0d9d7 Fix codegen for C# networking when using custom structures for replication and RPCs 2023-03-14 00:02:24 +01:00
Wojtek Figat
7cdd35cc8d Fix network codegen for 6 or more param RPC in C# 2023-03-13 20:36:10 +01:00
Wojtek Figat
6f304040b0 Format code 2023-03-13 20:20:10 +01:00