Comments (3)
The problem is that 5.4 changed how UBT decides which files are in the "working set". Working set files are excluded from the adaptive unity build, and so they balloon the size of our plugin.
Specifically, the 5.4 bug (that's what I'd call it) was introduced on this line:
https://github.com/EpicGames/UnrealEngine/blob/5.4.1-release/Engine/Source/Programs/UnrealBuildTool/System/SourceFileWorkingSet.cs#L395
As a result of that line, any time we're using an "installed" engine (which we are, because we didn't build it from source), we get a PerforceSourceFileWorkingSet
. That working set implementation deems any file that is not read-only to be part of the working set.
As for how to fix it, I'm less sure. Setting all our source files to read-only before doing the build on CI would probably work.
from cesium-unreal.
What I wrote above is probably not the full story, though, because as far as I can tell UE 5.3 would have used the PerforceSourceFileWorkingSet
too, and it would have behaved the same way. So I'm not sure why this is a new problem.
from cesium-unreal.
I just realized that the slow builds observed in 5.4 vs 5.3 can probably be attributed to this bug too. Non-unity builds are slower.
from cesium-unreal.
Related Issues (20)
- Delete CesiumCreditSystemBP0 In a specific way will cause the editor crash!!
- Samples project's CesiumIonSaaS.uasset was saved with UE 5.2
- Issues with remote desktop / pixel streaming
- `DynamicPawn` can get stuck underground if flying with speed multiplier HOT 1
- Linker error when packaging when the Cesium and Pixel Streaming plugins are both enabled HOT 5
- FName Overflow, allocated 1024MB of string data. FName strings are never freed and should be created sparingly. Some system might be generating too many FNames, see call stack. HOT 3
- Can you add support for shp/kml/geojson [including vertex lines and surfaces]/tif images HOT 2
- CI failing for macOS / iOS builds HOT 1
- iOS version of libktx.a is missing from release distribution
- Occlusion culling is stuck on waiting for results? HOT 1
- Need packaging tests for non-Windows platforms HOT 2
- Unreal Marketplace version of Cesium for Unreal for UE 5.2 and 5.3 is missing Config/Engine.ini HOT 2
- VS 2022 build error with CesiumTextureUtility.spec.cpp HOT 5
- VisionOS build support HOT 5
- Allow Cartographic Polygon points to be specified as Longitude/Latitude/Height or ECEF instead of UE coordinates
- "Reached threaded request limit" warning in UE 5.4
- Why are there blue squares HOT 1
- Dynamic Activate and Deactivate of CesiumRasterOverlay layers can cause tiles fail to be properly removed during the rendering frame tick.
- Spaces at end of file path of instanced objects don't get truncated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cesium-unreal.