Jump to content

Compilation Error in Lighting


Go to solution Solved by Szico VII,

Recommended Posts

I've been trying to compile my Utapau map, but the lighting portion simply wont compile.  Everything else in the map is perfect, but when I run the compiler, it gets stuck on phase two.  If I skip this phase, then phase three crashes which causes the lighting not to compile.  The error that I get when phase three crashes is:



************ ERROR ************
safe_malloc failed on allocation of 103809024 bytes

 

 

Some other warnings I get include those similar to the following:


WARNING: Flipped triangle: ( -4749  -3128 -11194) ( -4767  -3262 -11194) ( -4753  -3156 -11194)

 

WARNING: Lightmap texture coords out of range: S 127.4146 > 127 || T 29.7226 >  30

 

I don't know what is causing the lighting to not compile, and therefore do not know how to fix the problem.

Link to comment

As to why this happens: It means your lightmaps need a lot of memory to be generated. More than 2GB at once. 32 bit programs can't handle more than 2GB, usually, and never more than 4GB. Probably caused by having a lot of huge terrain, if this looks anything like the Utapau I'm thinking of.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...