Commit Graph

52 Commits

Author SHA1 Message Date
dave belanger
5a02b553ff FPluginUtils::FindPluginFromPackagePath that finds the plugin containing the specified package (if any) which supports C++ module packages (with the "/Script/" root)
#rb Jamie.Dale

[CL 34908432 by dave belanger in ue5-main branch]
2024-07-18 14:15:49 -04:00
dave belanger
8b1f60953d Add mount point check on plugin creation; there was a check against existing plugins but we also have to validate the plugin name isn't a mount point such as /Game, /Temp, /Script, etc
#rb Rex.Hill

[CL 33431746 by dave belanger in ue5-main branch]
2024-05-03 14:24:54 -04:00
dave belanger
bd96129f79 Remove restrictions that a plugin name cannot start with a digit and that is has to pass IAssetTools::IsNameAllowed
These checks were introduced at a time where we thought the plugin name could be referenced in Verse code and consequently had to be a valid Verse identifier, but that's not true: only the plugin Verse path can
#rb Rex.Hill

[CL 33311260 by dave belanger in ue5-main branch]
2024-04-29 15:40:57 -04:00
daniel lamb
be0ce0757f Added plugin param for generating iads
[CL 32431824 by daniel lamb in ue5-main branch]
2024-03-22 09:34:47 -04:00
will brown
88f7cfc94e Fixing an issue where multiple redirectors are created with the same source package name causing a redirector conflict. This can occur if two files have the same filename but the extensions are different (.csv, .uasset). Only need to create redirectors for unmodified files
#rb guillaume.patry

[CL 30868736 by will brown in ue5-main branch]
2024-01-24 19:14:02 -05:00
eric knapik
bfe0447a25 Fixup issue where PLUGIN_NAME would replace more than desired causing odd extensions of PLUGIN_NAME_suffix_suffix.
Adding new core function for what should be replaced. Default behavior is to use the PluginName

[REVIEW] [at]Aidan.McDu

[CL 30539709 by eric knapik in ue5-main branch]
2024-01-10 12:13:29 -05:00
andrew scheidecker
595c452b90 Allow setting the VerseVersion field on uplugin creation.
#rb Dave.Belanger

[CL 29486506 by andrew scheidecker in ue5-main branch]
2023-11-06 09:07:31 -05:00
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
Robb Surridge
610c467639 Update vendor links for built-in plugins to use secure protocol.
#jira UE-166823
#rb lauren.barnes
#preflight 6352b20b7261e565c476ec3b

[CL 22690089 by Robb Surridge in ue5-main branch]
2022-10-21 11:04:07 -04: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