Commit Graph

44 Commits

Author SHA1 Message Date
will brown
c61c5965f5 Copying plugin template files will setup temporary redirectors to fix up and internal package references during the new plugin creation and loading step. Also made a few changes to support a template path pointing to a real plugin. Special case handling of the name for an existing .uplugin or GameFeatureData.uasset when copying those files
#rb Bob.Tellez
[FYI] Eric.Carter
#preflight 64711f11be2ab95390b881f6
#rnx

[CL 25689763 by will brown in ue5-main branch]
2023-05-30 17:24:21 -04:00
will brown
11259201dd Additional error checking to prevent multiple .uplugin files existing when using the new plugin wizard. If a template .uplugin file is not simply named PLUGIN_NAME then it won't replace the new file that the wizard created. This results in the existence of multiple .uplugin files. Depending which file is found first it can cause a situation where a plugin with a different name is loaded and registered and this will cause the wizard to fail when it later searches for the registed plugin using the name that the user entered. There is a mismatch.
[REVIEW] [at]robert.millar [at]dave.belanger

[CL 25090871 by will brown in ue5-main branch]
2023-04-18 14:16:33 -04:00
mic rooney
8d82fa54b6 Allowing UBT to build individual plugins as though they were local.
* Also reverting a previous change that was building the whole project when adding new plugins.

#jira UE-171182
[REVIEW] [at]Josh.Adams, [at]Joe.Kirchoff
#preflight 640f5e7380540a5a36edb89d

[CL 24641918 by mic rooney in ue5-main branch]
2023-03-14 15:24:13 -04:00
henrik karlsson
3c9aacb1ad [Engine/Plugins]
* Updated public headers for ~170 engine plugins using iwyu to remove includes not needed. Removed includes are still available behind UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2

#preflight 63c08f4a2a6acaf1622bcc73
#rb none

[CL 23674775 by henrik karlsson in ue5-main branch]
2023-01-13 01:54:01 -05:00
dave belanger
a859212e17 Log time to UnloadPluginsAssets
#rb none
#preflight skip

[CL 23665391 by dave belanger in ue5-main branch]
2023-01-12 12:35:31 -05:00
henrik karlsson
2f78497e67 [Engine/Plugins]
* Updated private files with IWYU for all plugins which had 3 or less changes made in ue5 main since last integration to fn

#preflight 63bf8d8b577437afe607dc72
#rb none

[CL 23659643 by henrik karlsson in ue5-main branch]
2023-01-12 01:48:34 -05:00
dave belanger
643cb74803 Optimize UnloadPluginsAssets
#rb Matt.Peters
#preflight 63beee8168068a8bd6bf9b93

[CL 23658431 by dave belanger in ue5-main branch]
2023-01-11 20:53:01 -05:00
eric knapik
1a1d89f0c0 #jira: none
Re-enabling LocalContentWorker test now that core issues with AssetDataGatherer sync load have been fixed via CL: 23521344
Fix an issue where plugin unloading would only find packages that were in the asset registry. This prevented the cleanup of some _externalActors_ packages.
Add nullptr checks on StreamingPolicy which might be null for a transient world
fix an issue where a plugin might not be fully removed during the duplicate process

#preflight 63b5daa21c35d1cbdbc98dcb
[REVIEW] [at]Justin.Marcus [at]Francis.Hurteau

[CL 23582319 by eric knapik in ue5-main branch]
2023-01-04 17:26:23 -05:00
markus breyer
134c25d0ba New plugin descriptor field "EnableVerseAssetReflection"
#rb andrew.scheidecker
#rnx
#preflight 639b7b1b680483bcb1d7bfe3

[CL 23535308 by markus breyer in ue5-main branch]
2022-12-15 20:49:06 -05:00
aditya ravichandran
f8b7ee5555 Replace any instances of "Source Control" with "Revision Control" in text in the Editor
#rb JeanMichel.Dignard, Robb.Surridge
#preflight 637d180efa348e8480e8837e

[CL 23250808 by aditya ravichandran in ue5-main branch]
2022-11-23 11:57:50 -05:00
mic rooney
ec231bd6e7 Fixing the plugin manager not resetting asset localization ids on creation.
[REVIEW] [at]Josh.Andersen, [at]aaron.eady, [at]matt.stone, [at]Andrew.Thayer, [at]miles.Kaech

[CL 22507211 by mic rooney in ue5-main branch]
2022-10-13 13:02:39 -04:00
dave belanger
6d349f9e23 Fix to UPackageTools::UnloadPackages to deal with stale external actor packages when unloading the current world
Remove code in FPluginUtils::UnloadPluginsAssets that closes the current world since UnloadPackages already takes care of it
#rb Rex.Hill
#preflight 63345ed0e25f11e51a13907a

[CL 22240462 by dave belanger in ue5-main branch]
2022-09-28 22:22:04 -04:00
dave belanger
19ee14f03d FPluginUtils: Close the current editor map if it's in one of the plugins to unload (maps and external actors can't be properly unloaded via UnloadPackages)
#rb Rex.Hill
#preflight 62ae2e12af0077f2d5e8c191

#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 20737143 via CL 20737164 via CL 20737209 via CL 20737231 via CL 20737251
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v970-20704180)

[CL 20739721 by dave belanger in ue5-main branch]
2022-06-20 12:42:44 -04:00
jason stasik
d238bcf377 Add global name filter across editor for asset paths
#rb dave.belanger
#preflight 6296ad96545b9a93abbddd73

#ROBOMERGE-AUTHOR: jason.stasik
#ROBOMERGE-SOURCE: CL 20454648 via CL 20454680 via CL 20454686 via CL 20454689
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v952-20449836)

[CL 20460837 by jason stasik in ue5-main branch]
2022-06-01 18:12:39 -04:00
tom noonan
4eb3de8fb6 Adding entries for CanContainVerse and VersePath to FNewPluginParams
#rb markus.breyer

#ROBOMERGE-AUTHOR: tom.noonan
#ROBOMERGE-SOURCE: CL 20390598 via CL 20391788 via CL 20391801 via CL 20391809
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20398472 by tom noonan in ue5-main branch]
2022-05-27 16:44:06 -04:00
mic rooney
0628b00864 Fixing internal code modules being stored in external module location when creating internal plugins through the plugin wizard.
#ROBOMERGE-AUTHOR: mic.rooney
#ROBOMERGE-SOURCE: CL 20085436 via CL 20086124 via CL 20086182 via CL 20086208
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20108274 by mic rooney in ue5-main branch]
2022-05-09 15:03:47 -04:00
Matt Peters
d64cf41728 AssetRegistry includes (Engine Plugins): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270563191629533ec2b6f6e

[CL 20017756 by Matt Peters in ue5-main branch]
2022-05-02 18:59:38 -04:00
dave belanger
9f1e7850e9 Proper unloading of gfp assets in editor (need to deal with assets opened in editors and standalone packages)
#rb Justin.Marcus
#preflight 6261a2006971732e13204626

#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 19857156 via CL 19859849 via CL 19864831 via CL 19865256
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19871233 by dave belanger in ue5-main branch]
2022-04-22 16:01:38 -04:00
mic rooney
12fd2d6ae5 Fixing mismatched relative/absolute paths for path comparison in plugin utils
#ROBOMERGE-AUTHOR: mic.rooney
#ROBOMERGE-SOURCE: CL 19854329 via CL 19861712 via CL 19861778
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19870902 by mic rooney in ue5-main branch]
2022-04-22 15:51:25 -04:00
dave belanger
8604e8948b Removing assumption that the uplugin file lives in a folder of the same name in FPluginUtils::LoadPlugin
#rb Tom.Noonan
#preflight 6230d2dc7b5cb407688aa3dd

#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 19389374 via CL 19393003 via CL 19396157 via CL 19399597 via CL 19399672
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19403796 by dave belanger in ue5-main branch]
2022-03-16 03:49:38 -04:00
mic rooney
bc038f8033 Adding uplugin to NameReplacementFileTypes for the plugin creation wizard.
#ROBOMERGE-AUTHOR: mic.rooney
#ROBOMERGE-SOURCE: CL 19377824 via CL 19378971 via CL 19393378 via CL 19393515
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19402337 by mic rooney in ue5-main branch]
2022-03-16 03:05:39 -04:00
mic rooney
e99cfc543e Fixing source control issues when PLUGIN_NAME is used in uassets in plugin templates.
[REVIEW] [at]Michael.Noland

#ROBOMERGE-AUTHOR: mic.rooney
#ROBOMERGE-SOURCE: CL 19229642 via CL 19238068 via CL 19238215 via CL 19238483
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19239366 by mic rooney in ue5-main branch]
2022-03-03 01:27:57 -05:00
marc audy
4d8989e65c Correct deprecation versions
[FYI] dave.belanger, julien.stjean, ludovic.chabant, john.barrett, zach.bethel, christopher.waters, rinat.abdrashitov
#preflight

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18713208 in //UE5/Release-5.0/... via CL 18713233 via CL 18713485
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18713494 by marc audy in ue5-main branch]
2022-01-24 15:26:01 -05:00
sebastian thomeczek
53ae9349c6 Make AddToPluginSearchPathIfNeeded skip mod and enterprise plugin directories
[FYI] Francis.Hurteau
#rb trivial
#preflight 61e7ffcfb56c33b8ec1514b5

#ROBOMERGE-AUTHOR: sebastian.thomeczek
#ROBOMERGE-SOURCE: CL 18659468 in //UE5/Release-5.0/... via CL 18659501 via CL 18659515
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18659528 by sebastian thomeczek in ue5-main branch]
2022-01-19 11:58:21 -05:00
gaurang-ingale
d5363655e2 PR #8683: Fix plugin creation (Contributed by gaurang-ingale)
#rb none
#jira UE-136634
#preflight skip

#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 18382125 via CL 18384310 via CL 18384323 via CL 18384343 via CL 18434558 via CL 18435680
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18436631 by gaurang-ingale in ue5-release-engine-test branch]
2021-12-10 19:20:47 -05:00