Comments (3)
Downloaded UE 5.4.1 locally and it seems to fix this issue.
I built UnrealGame, Development, and the extra (non-unity) object files weren't being produced.
Fix could be as easy as just updating our UE_5.4.zip on S3 @kring
from cesium-unreal.
@j9liu tried 5.4.0, built locally, and didn't see the extra object files either. This hints it could be a CI build problem?
from cesium-unreal.
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)
- Can this plugin add a flat satellite base map? HOT 1
- Add ambient light at nighttime HOT 5
- Quest 2/Android build: Unable to parse EXT_structural_metadata extension (or perhaps any extension?) HOT 6
- about RasterOverlayComponent's MaterialLayerKey :OverlayN HOT 2
- Customize material for change default texture (flashes white blicking) HOT 2
- Was WMTS removed in 2.4.0? HOT 1
- White pixel flickering artifacts with "DitherFade" material layer HOT 3
- Keyboard input - Can't move forward and up at the same time
- All terrain tiles render black when running natively on Quest headsets HOT 8
- Add support for 3D Tiles Styling Language HOT 2
- Add compile support for Unreal Engine 5.4 HOT 13
- The flow level already has a Georeference, but GetDefault Georeference will still generate a Georeference in the main level, which should not be HOT 1
- Collision mesh doesn't get culled at low LODs HOT 3
- Windows -> Linux cross compile fails (lld is not built with zlib support) HOT 1
- Add CI support for Unreal Engine 5.4 HOT 1
- UE 5.4 spams "LogHttp: Warning: Reached threaded request limit (20)" warnings to the console
- Dynamic pawn speed control broken in UE 5.4 (at least) HOT 2
- Collision / tracing / picking not working in UE 5.4 HOT 1
- Delete CesiumCreditSystemBP0 In a specific way will cause the editor crash!!
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.